Skip to content

Add raw_path_exists method to ClientContext

nomad.datamodel.Context has a raw_path_exists method which needs to implemented in it's child classes. But this implementation is missing in one of the child classes ClientContext. The current MR fixes it.

Why is this needed? When testing a schema class locally using pytest, the context associated with the archive is of class ClientContext. If the schema uses archive.m_context.raw_path_exists(filepath) in normalize, the test fails as the method is not implemented.

Merge request reports