Skip to content

Commit a593139

Browse files
committed
clear up comment
1 parent 780105d commit a593139

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

synapseclient/models/schema_organization.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -996,9 +996,9 @@ async def get_versions():
996996
self.organization_name, self.name, synapse_client=synapse_client
997997
)
998998
async for schema in all_schemas:
999-
# Schemas created without a semantic version will be returned from the API call.
1000-
# Those won't be returned here since they aren't really versions.
1001-
# JSONSchemaVersionInfo.semantic_version could also be changed to optional.
999+
# Schema "versions" without a semantic version will be returned from the API call,
1000+
# but will be filtered out by this method.
1001+
# Only those with a semantic version will be returned.
10021002
if "semanticVersion" in schema:
10031003
yield self._create_json_schema_version_from_response(schema)
10041004

0 commit comments

Comments
 (0)