Skip to content

Commit 98d1092

Browse files
committed
added example to docstring
1 parent a593139 commit 98d1092

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

synapseclient/models/schema_organization.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,17 @@ def list_json_schema_organizations(
13131313
13141314
Returns:
13151315
A list of SchemaOrganizations
1316+
1317+
Example:
1318+
from synapseclient.models.schema_organization import list_json_schema_organizations
1319+
from synapseclient import Synapse
1320+
1321+
syn = Synapse()
1322+
syn.login()
1323+
1324+
all_orgs = list_json_schema_organizations()
1325+
for item in all_orgs:
1326+
print(item)
13161327
"""
13171328
all_orgs = [
13181329
SchemaOrganization().fill_from_dict(org)

0 commit comments

Comments
 (0)