ogc-na 0.4.3__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ogc-na might be problematic. Click here for more details.

Files changed (63) hide show
  1. {ogc_na-0.4.3 → ogc_na-0.4.4}/PKG-INFO +1 -1
  2. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/_version.py +3 -3
  3. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc_na.egg-info/PKG-INFO +1 -1
  4. {ogc_na-0.4.3 → ogc_na-0.4.4}/.github/workflows/mkdocs.yml +0 -0
  5. {ogc_na-0.4.3 → ogc_na-0.4.4}/.github/workflows/python-publish.yml +0 -0
  6. {ogc_na-0.4.3 → ogc_na-0.4.4}/.gitignore +0 -0
  7. {ogc_na-0.4.3 → ogc_na-0.4.4}/LICENSE +0 -0
  8. {ogc_na-0.4.3 → ogc_na-0.4.4}/MANIFEST.in +0 -0
  9. {ogc_na-0.4.3 → ogc_na-0.4.4}/README.md +0 -0
  10. {ogc_na-0.4.3 → ogc_na-0.4.4}/docs/examples.md +0 -0
  11. {ogc_na-0.4.3 → ogc_na-0.4.4}/docs/gen_ref_pages.py +0 -0
  12. {ogc_na-0.4.3 → ogc_na-0.4.4}/docs/index.md +0 -0
  13. {ogc_na-0.4.3 → ogc_na-0.4.4}/docs/jsonld-uplift.md +0 -0
  14. {ogc_na-0.4.3 → ogc_na-0.4.4}/docs/tutorials.md +0 -0
  15. {ogc_na-0.4.3 → ogc_na-0.4.4}/mkdocs.yml +0 -0
  16. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/__init__.py +0 -0
  17. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/annotate_schema.py +2 -2
  18. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/domain_config.py +0 -0
  19. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/download.py +0 -0
  20. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/exceptions.py +0 -0
  21. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/gsp.py +0 -0
  22. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/ingest_json.py +0 -0
  23. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/input_filters/__init__.py +0 -0
  24. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/input_filters/csv.py +0 -0
  25. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/input_filters/xlsx.py +0 -0
  26. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/input_filters/xml.py +0 -0
  27. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/models.py +0 -0
  28. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/profile.py +0 -0
  29. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/provenance.py +0 -0
  30. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/update_vocabs.py +0 -0
  31. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/util.py +0 -0
  32. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc/na/validation.py +0 -0
  33. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc_na.egg-info/SOURCES.txt +0 -0
  34. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc_na.egg-info/dependency_links.txt +0 -0
  35. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc_na.egg-info/requires.txt +0 -0
  36. {ogc_na-0.4.3 → ogc_na-0.4.4}/ogc_na.egg-info/top_level.txt +0 -0
  37. {ogc_na-0.4.3 → ogc_na-0.4.4}/pyproject.toml +0 -0
  38. {ogc_na-0.4.3 → ogc_na-0.4.4}/rdf/catalog-v001.xml +0 -0
  39. {ogc_na-0.4.3 → ogc_na-0.4.4}/rdf/domaincfg.vocab.ttl +0 -0
  40. {ogc_na-0.4.3 → ogc_na-0.4.4}/requirements.txt +0 -0
  41. {ogc_na-0.4.3 → ogc_na-0.4.4}/setup.cfg +0 -0
  42. {ogc_na-0.4.3 → ogc_na-0.4.4}/setup.py +0 -0
  43. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/__init__.py +0 -0
  44. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/annotate-defs-schema.yml +0 -0
  45. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/empty.ttl +0 -0
  46. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/headers.csv +0 -0
  47. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/headers.xlsx +0 -0
  48. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/no-headers.csv +0 -0
  49. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/no-headers.xlsx +0 -0
  50. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/profile_tree.ttl +0 -0
  51. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/profile_tree_cyclic.ttl +0 -0
  52. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/sample-context.jsonld +0 -0
  53. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/sample-schema-prop-c.yml +0 -0
  54. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/sample-schema.yml +0 -0
  55. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/schema-anchors.json +0 -0
  56. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/schema-vocab.yml +0 -0
  57. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/two-sheets.xlsx +0 -0
  58. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/data/uplift_context_valid.yml +0 -0
  59. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/test_annotate_schema.py +0 -0
  60. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/test_ingest_json.py +0 -0
  61. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/test_input_filters_csv.py +0 -0
  62. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/test_input_filters_xlsx.py +0 -0
  63. {ogc_na-0.4.3 → ogc_na-0.4.4}/test/test_profile.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ogc_na
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: OGC Naming Authority tools
5
5
  Author-email: Rob Atkinson <ratkinson@ogc.org>, Piotr Zaborowski <pzaborowski@ogc.org>, Alejandro Villar <avillar@ogc.org>
6
6
  License-Expression: Apache-2.0
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.4.3'
32
- __version_tuple__ = version_tuple = (0, 4, 3)
31
+ __version__ = version = '0.4.4'
32
+ __version_tuple__ = version_tuple = (0, 4, 4)
33
33
 
34
- __commit_id__ = commit_id = 'gc3c617821'
34
+ __commit_id__ = commit_id = 'ga90db81ee'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ogc_na
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: OGC Naming Authority tools
5
5
  Author-email: Rob Atkinson <ratkinson@ogc.org>, Piotr Zaborowski <pzaborowski@ogc.org>, Alejandro Villar <avillar@ogc.org>
6
6
  License-Expression: Apache-2.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -824,8 +824,6 @@ class ContextBuilder:
824
824
  if top_level_value:
825
825
  onto_context[f"@{key[len(ANNOTATION_PREFIX):]}"] = top_level_value
826
826
 
827
- read_properties(subschema, from_schema, onto_context, schema_path)
828
-
829
827
  if '$ref' in subschema:
830
828
  ref = subschema['$ref']
831
829
  ref_path_str = f"{from_schema.location}{ref}"
@@ -860,6 +858,8 @@ class ContextBuilder:
860
858
  for k, v in extra_term_context.items()}
861
859
  onto_context[extra_term] = extra_term_context
862
860
 
861
+ read_properties(subschema, from_schema, onto_context, schema_path)
862
+
863
863
  if from_schema:
864
864
  current_ref = f"{from_schema.location}{from_schema.ref}"
865
865
  if current_ref not in imported_prefixes:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes