Skip to content

Commit c6077e0

Browse files
committed
reorder functions for order hint
1 parent 0a5f2e6 commit c6077e0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

synapseclient/models/protocols/wikipage_protocol.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@ class WikiOrderHintSynchronousProtocol(Protocol):
2020
"""Protocol for the methods of the WikiOrderHint class that have synchronous counterparts
2121
generated at runtime."""
2222

23-
def get(
23+
def store(
2424
self,
2525
*,
26-
synapse_client: Optional[Synapse] = None,
26+
synapse_client: Optional["Synapse"] = None,
2727
) -> "WikiOrderHint":
2828
"""
29-
Get the order hint of a wiki page tree.
29+
Update the order hint of a wiki page tree.
3030
Arguments:
3131
synapse_client: Optionally provide a Synapse client.
3232
Returns:
33-
A WikiOrderHint object for the entity.
33+
The updated WikiOrderHint object for the entity.
3434
"""
3535
return self
3636

37-
def store(
37+
def get(
3838
self,
3939
*,
40-
synapse_client: Optional["Synapse"] = None,
40+
synapse_client: Optional[Synapse] = None,
4141
) -> "WikiOrderHint":
4242
"""
43-
Update the order hint of a wiki page tree.
43+
Get the order hint of a wiki page tree.
4444
Arguments:
4545
synapse_client: Optionally provide a Synapse client.
4646
Returns:
47-
The updated WikiOrderHint object for the entity.
47+
A WikiOrderHint object for the entity.
4848
"""
4949
return self
5050

0 commit comments

Comments
 (0)