We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 566194d commit 38ec5f8Copy full SHA for 38ec5f8
dandiapi/api/models/metadata.py
@@ -3,6 +3,8 @@
3
from typing import TYPE_CHECKING
4
from uuid import uuid4
5
6
+from django.conf import settings
7
+
8
if TYPE_CHECKING:
9
import datetime
10
@@ -19,7 +21,8 @@ def published_by(self, now: datetime.datetime):
19
21
'wasAssociatedWith': [
20
22
{
23
'id': uuid4().urn,
- 'identifier': 'RRID:SCR_017571',
24
+ # todo: handle the case where `instance_identifier` is None
25
+ 'identifier': settings.DANDI_SCHEMA_INSTANCE_CONFIG.instance_identifier,
26
'name': 'DANDI API',
27
# TODO: version the API
28
'version': '0.1.0',
0 commit comments