Skip to content
New issue

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

LIBFCREPO-1304. Fixed failing validation tests for Issue and Poster models. #286

Conversation

peichman-umd
Copy link
Member

@peichman-umd peichman-umd commented Mar 25, 2024

Build a lookup table of object class names: In the __init_subclass__() method for RDFResourceBase, record the short name of the class being defined and a pointer to the class object in a dictionary. Then use this dictionary to look up object_class values that are given as strings.

Re-enabled skipped model tests, and added test for empty objects too.

Moved classes out of plastron.models.umd into new plastron.models modules:

  • Proxy, AggregationMixin --> plastron.models.ore
  • LDPContainer --> plastron.models.ldp
  • PCDMObject, PCDMFile --> plastron.models.pcdm

https://umd-dit.atlassian.net/browse/LIBFCREPO-1304

…tron.models.

Moved classes out of plastron.models.umd:

* Proxy, AggregationMixin --> plastron.models.ore
* LDPContainer --> plastron.models.ldp
* PCDMObject, PCDMFile --> plastron.models.pcdm

https://umd-dit.atlassian.net/browse/LIBFCREPO-1304
In the __init_subclass__() method for RDFResourceBase, record the short name of the class being defined and a pointer to the class object in a dictionary. Then use this dictionary to look up object_class values that are given as strings.

Re-enabled skipped model tests, and added test for empty objects too.

https://umd-dit.atlassian.net/browse/LIBFCREPO-1304
@dsteelma-umd dsteelma-umd merged commit 8f8b1f1 into umd-lib:feature/LIBFCREPO-1276 Mar 26, 2024
@peichman-umd peichman-umd deleted the feature/LIBFCREPO-1304 branch March 27, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants