We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e311bb commit 8f0b30cCopy full SHA for 8f0b30c
synapseclient/models/schema_organization.py
@@ -625,15 +625,27 @@ def store(
625
626
627
```python
628
- from synapseclient.models import SchemaOrganization
+ from synapseclient.models import JSONSchema
629
from synapseclient import Synapse
630
631
syn = Synapse()
632
syn.login()
633
634
- org = SchemaOrganization("my.org.name")
635
- org.store()
636
- print(org)
+ schema = JSONSchema(organization_name="my.org", name="test.schema")
+ schema_body = {
+ {
637
+ "properties": {
638
+ "Component": {
639
+ "description": "TBD",
640
+ "not": {
641
+ "type": "null"
642
+ },
643
+ "title": "Component"
644
+ }
645
646
647
648
+ schema.store(schema_body = schema_body)
649
```
650
"""
651
return self
0 commit comments