1
- from typing import TYPE_CHECKING , AsyncGenerator , Optional , Protocol , Union
1
+ from typing import TYPE_CHECKING , Generator , Optional , Protocol , Union
2
2
3
3
if TYPE_CHECKING :
4
4
from synapseclient import Synapse
@@ -103,7 +103,7 @@ class ContainerEntityJSONSchemaProtocol(BaseJSONSchemaProtocol):
103
103
It provides methods to bind, delete, and validate JSON schemas associated with the container entity.
104
104
"""
105
105
106
- async def get_schema_validation_statistics_async (
106
+ def get_schema_validation_statistics (
107
107
self , * , synapse_client : Optional ["Synapse" ] = None
108
108
) -> "JSONSchemaValidationStatistics" :
109
109
"""
@@ -118,9 +118,9 @@ async def get_schema_validation_statistics_async(
118
118
"""
119
119
return JSONSchemaValidationStatistics ()
120
120
121
- async def get_invalid_validation_async (
121
+ def get_invalid_validation (
122
122
self , * , synapse_client : Optional ["Synapse" ] = None
123
- ) -> AsyncGenerator ["InvalidJSONSchemaValidation" , None ]:
123
+ ) -> Generator ["InvalidJSONSchemaValidation" , None ]:
124
124
"""
125
125
Get invalid JSON schema validation results for a container entity.
126
126
0 commit comments