Skip to content

Commit d52720c

Browse files
committed
remove unwanted decorator
1 parent 9ae4c81 commit d52720c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

synapseclient/models/protocols/wikipage_protocol.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Protocol, Union
55

66
from synapseclient import Synapse
7-
from synapseclient.core.async_utils import async_to_sync
87

98
if TYPE_CHECKING:
109
from synapseclient.models import (
@@ -15,7 +14,6 @@
1514
)
1615

1716

18-
@async_to_sync
1917
class WikiOrderHintSynchronousProtocol(Protocol):
2018
"""Protocol for the methods of the WikiOrderHint class that have synchronous counterparts
2119
generated at runtime."""
@@ -49,7 +47,6 @@ def get(
4947
return self
5048

5149

52-
@async_to_sync
5350
class WikiHistorySnapshotSynchronousProtocol(Protocol):
5451
"""Protocol for the methods of the WikiHistorySnapshot class that have synchronous counterparts
5552
generated at runtime."""
@@ -78,7 +75,6 @@ def get(
7875
return list({})
7976

8077

81-
@async_to_sync
8278
class WikiHeaderSynchronousProtocol(Protocol):
8379
"""Protocol for the methods of the WikiHeader class that have synchronous counterparts
8480
generated at runtime."""
@@ -105,7 +101,6 @@ def get(
105101
return list({})
106102

107103

108-
@async_to_sync
109104
class WikiPageSynchronousProtocol(Protocol):
110105
"""Protocol for the methods of the WikiPage class that have synchronous counterparts
111106
generated at runtime."""

0 commit comments

Comments
 (0)