Skip to content

Commit a235930

Browse files
committed
remove async keyword
1 parent 62b5214 commit a235930

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

synapseclient/models/protocols/json_schema_protocol.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import TYPE_CHECKING, AsyncGenerator, Optional, Protocol, Union
1+
from typing import TYPE_CHECKING, Generator, Optional, Protocol, Union
22

33
if TYPE_CHECKING:
44
from synapseclient import Synapse
@@ -103,7 +103,7 @@ class ContainerEntityJSONSchemaProtocol(BaseJSONSchemaProtocol):
103103
It provides methods to bind, delete, and validate JSON schemas associated with the container entity.
104104
"""
105105

106-
async def get_schema_validation_statistics_async(
106+
def get_schema_validation_statistics(
107107
self, *, synapse_client: Optional["Synapse"] = None
108108
) -> "JSONSchemaValidationStatistics":
109109
"""
@@ -118,9 +118,9 @@ async def get_schema_validation_statistics_async(
118118
"""
119119
return JSONSchemaValidationStatistics()
120120

121-
async def get_invalid_validation_async(
121+
def get_invalid_validation(
122122
self, *, synapse_client: Optional["Synapse"] = None
123-
) -> AsyncGenerator["InvalidJSONSchemaValidation", None]:
123+
) -> Generator["InvalidJSONSchemaValidation", None]:
124124
"""
125125
Get invalid JSON schema validation results for a container entity.
126126

0 commit comments

Comments
 (0)