File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments