Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahJohnsonONS committed Jun 21, 2024
1 parent f8e862f commit 1451774
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/csvcubed/models/rdf/qbdatasetincatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
from csvcubed.models.rdf import prov


class QbDataSetInCatalog(qb.DataSet, dcat.Dataset, prov.Entity):
class QbDataSetInCatalog(qb.DataSet, dcat.Distribution, prov.Entity):
"""
Represents both a qb:DataSet and a dcat:Distribution in one node. Means that we don't have to link
between the two.
"""

def __init__(self, uri: str):
qb.DataSet.__init__(self, uri)
dcat.Dataset.__init__(self, uri)
dcat.Distribution.__init__(self, uri)
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ def _generate_qb_dataset_dsd_definitions(
self,
) -> QbDataSetInCatalog:
qb_dataset = self._get_qb_dataset()

qb_dataset.is_distribution_of = ExistingResource(
self._uris.get_dataset_uri()
).uri
Expand Down

0 comments on commit 1451774

Please sign in to comment.