Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPNLPF-2213: Includes in JSON-schema #182

Merged
merged 3 commits into from
Feb 8, 2024

Conversation

bart0003
Copy link
Collaborator

No description provided.

@bart0003 bart0003 marked this pull request as draft January 24, 2024 07:42
@@ -17,15 +17,19 @@ class JSONSchemaValidator(BaseMessageValidatorWithResources):

def _update_resources(self):
schemas = self.resources.get("payload_schema")
self._schemas = {k: self._compile_schema(v) for k, v in schemas.items()}
self._schemas = {k: self._compile_schema(v) for k, v in schemas.items() if '.json' not in k and "/" not in k}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

подумать как сделать умнее

@bart0003 bart0003 marked this pull request as ready for review January 31, 2024 13:17
@bart0003 bart0003 merged commit bc7082d into release/3.0.0 Feb 8, 2024
8 checks passed
@bart0003 bart0003 deleted the DPNLPF-2213.json-schema-include branch February 8, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants