We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When calling
KGEdgeSchema.to_json() or to_yaml() on
KGEdgeSchema.to_json()
to_yaml()
class KGEdgeSchema(DataFrameModel): """Schema for a knowledge graph edges as exposed by the Data API.""" # fmt: off subject: StringType() = pa.Field(nullable = False) predicate: StringType() = pa.Field(nullable = False) object: StringType() = pa.Field(nullable = False) knowledge_level: StringType() = pa.Field(nullable = True) primary_knowledge_source: StringType() = pa.Field(nullable = True) aggregator_knowledge_source: ArrayType(StringType()) = pa.Field(nullable = True) publications: ArrayType(StringType()) = pa.Field(nullable = True) subject_aspect_qualifier: StringType() = pa.Field(nullable = True) subject_direction_qualifier: StringType() = pa.Field(nullable = True) object_aspect_qualifier: StringType() = pa.Field(nullable = True) object_direction_qualifier: StringType() = pa.Field(nullable = True) # We manually set this for every KG we ingest upstream_data_source: ArrayType(StringType()) = pa.Field(nullable = False) # fmt: on class Config: # noqa: D106 coerce = True strict = False
AttributeError: 'Column' object has no attribute 'unique'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When calling
KGEdgeSchema.to_json()
orto_yaml()
onThe text was updated successfully, but these errors were encountered: