We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcceab3 commit 31cfce3Copy full SHA for 31cfce3
pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "krrood"
7
-version = "1.0.7"
+version = "1.0.8"
8
description = "A university data generator based on the LUBM (Lehigh University Benchmark) ontology"
9
readme = "README.md"
10
requires-python = ">=3.10"
src/krrood/entity_query_language/symbolic.py
@@ -1401,9 +1401,9 @@ def _type_(self):
1401
wrapped_cls,
1402
[f for f in fields(self._child_type_) if f.name == self._attr_name_][0],
1403
)
1404
- if wrapped_field:
+ try:
1405
return wrapped_field.type_endpoint
1406
- else:
+ except (AttributeError, RuntimeError):
1407
return None
1408
1409
@cached_property
0 commit comments