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

Add ResourceType enum and associate with Resource model #232

Merged
merged 8 commits into from
Mar 18, 2024
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 16, 2024
commit 9e492c2e940256eab8c064463340b0812c29b7dc
8 changes: 7 additions & 1 deletion dandischema/tests/test_datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@

from .utils import skipif_no_network
from ..datacite import _get_datacite_schema, to_datacite
from ..models import LicenseType, PublishedDandiset, RelationType, RoleType, ResourceType
from ..models import (
LicenseType,
PublishedDandiset,
RelationType,
ResourceType,
RoleType,
)


def datacite_post(datacite: dict, doi: str) -> None:
Expand Down
Loading