Skip to content

Commit f0f6844

Browse files
committed
add optional in type checking
1 parent fc74f71 commit f0f6844

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

synapseclient/api/api_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
async def rest_post_paginated_async(
1010
uri: str,
11-
body: Dict[str, Any] = None,
12-
endpoint: str = None,
13-
headers: httpx.Headers = None,
14-
retry_policy: Dict[str, Any] = {},
15-
requests_session_async_synapse: httpx.AsyncClient = None,
11+
body: Optional[Dict[str, Any]] = None,
12+
endpoint: Optional[str] = None,
13+
headers: Optional[httpx.Headers] = None,
14+
retry_policy: Optional[Dict[str, Any]] = {},
15+
requests_session_async_synapse: Optional[httpx.AsyncClient] = None,
1616
*,
1717
synapse_client: Optional["Synapse"] = None,
1818
**kwargs,

0 commit comments

Comments
 (0)