Skip to content

286 add dataset attachment to objects instead of collections when parsing#299

Open
LucasZimm wants to merge 12 commits into
mainfrom
286-add-dataset-attachment-to-objects-instead-of-collections-when-parsing
Open

286 add dataset attachment to objects instead of collections when parsing#299
LucasZimm wants to merge 12 commits into
mainfrom
286-add-dataset-attachment-to-objects-instead-of-collections-when-parsing

Conversation

@LucasZimm
Copy link
Copy Markdown
Collaborator

Entities:

  • adds the datasets property for ObjectType
  • can use object.add_dataset to add a filepath

Parser:

  • added feature to parse datasets attached to objects

Later Todo:

  • dataset saving is not yet transaction compatible

Fixed:

  • Fixed Loop for Object property generation (could only do one property)

@LucasZimm LucasZimm requested a review from JosePizarro3 May 26, 2026 12:24
@LucasZimm LucasZimm self-assigned this May 26, 2026
@LucasZimm LucasZimm added feature New features added to the API enhancement Enhancements on the code base labels May 26, 2026
@LucasZimm LucasZimm added fix Bug fixes and removed enhancement Enhancements on the code base labels May 26, 2026
@JosePizarro3 JosePizarro3 added enhancement Enhancements on the code base and removed fix Bug fixes labels May 27, 2026
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 26447443533

Coverage remained the same at 0.0%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 0
Covered Lines: 0
Line Coverage: NaN%
Coverage Strength: 0.0 hits per line

💛 - Coveralls

Copy link
Copy Markdown
Member

@JosePizarro3 JosePizarro3 left a comment

Choose a reason for hiding this comment

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

Lovely, thanks!

entity.save()
return entity

@property
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

you can delete this property (self.datasets is already defined in pydantic)

logger.error(f"Failed to commit object transaction: {e}")
return None

# TODO if later transactions support datasets change it to transaction.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

just cherrypicking: maybe add the date where you wrote this (e.g., " TODO (May 2026) ...")?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancements on the code base feature New features added to the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dataset attachment to objects instead of collections when parsing

3 participants