@@ -23,96 +23,59 @@ else:
2323
2424from acouchbase_analytics .database import AsyncDatabase
2525from couchbase_analytics .credential import Credential
26- from couchbase_analytics .options import (ClusterOptions ,
27- ClusterOptionsKwargs ,
28- QueryOptions ,
29- QueryOptionsKwargs )
26+ from couchbase_analytics .options import ClusterOptions , ClusterOptionsKwargs , QueryOptions , QueryOptionsKwargs
3027from couchbase_analytics .result import AsyncQueryResult
3128
3229class AsyncCluster :
3330 @overload
3431 def __init__ (self , http_endpoint : str , credential : Credential ) -> None : ...
35-
3632 @overload
37- def __init__ (self ,
38- http_endpoint : str ,
39- credential : Credential ,
40- options : ClusterOptions ) -> None : ...
41-
33+ def __init__ (self , http_endpoint : str , credential : Credential , options : ClusterOptions ) -> None : ...
4234 @overload
43- def __init__ (self ,
44- http_endpoint : str ,
45- credential : Credential ,
46- ** kwargs : Unpack [ClusterOptionsKwargs ]) -> None : ...
47-
35+ def __init__ (self , http_endpoint : str , credential : Credential , ** kwargs : Unpack [ClusterOptionsKwargs ]) -> None : ...
4836 @overload
49- def __init__ (self ,
50- http_endpoint : str ,
51- credential : Credential ,
52- options : ClusterOptions ,
53- ** kwargs : Unpack [ClusterOptionsKwargs ]) -> None : ...
54-
37+ def __init__ (
38+ self ,
39+ http_endpoint : str ,
40+ credential : Credential ,
41+ options : ClusterOptions ,
42+ ** kwargs : Unpack [ClusterOptionsKwargs ],
43+ ) -> None : ...
5544 def database (self , database_name : str ) -> AsyncDatabase : ...
56-
5745 @overload
5846 def execute_query (self , statement : str ) -> Awaitable [AsyncQueryResult ]: ...
59-
6047 @overload
6148 def execute_query (self , statement : str , options : QueryOptions ) -> Awaitable [AsyncQueryResult ]: ...
62-
6349 @overload
6450 def execute_query (self , statement : str , ** kwargs : Unpack [QueryOptionsKwargs ]) -> Awaitable [AsyncQueryResult ]: ...
65-
6651 @overload
67- def execute_query (self ,
68- statement : str ,
69- options : QueryOptions ,
70- ** kwargs : Unpack [QueryOptionsKwargs ]) -> Awaitable [AsyncQueryResult ]: ...
71-
52+ def execute_query (
53+ self , statement : str , options : QueryOptions , ** kwargs : Unpack [QueryOptionsKwargs ]
54+ ) -> Awaitable [AsyncQueryResult ]: ...
7255 @overload
73- def execute_query (self ,
74- statement : str ,
75- options : QueryOptions ,
76- * args : str ,
77- ** kwargs : Unpack [QueryOptionsKwargs ]) -> Awaitable [AsyncQueryResult ]: ...
78-
56+ def execute_query (
57+ self , statement : str , options : QueryOptions , * args : str , ** kwargs : Unpack [QueryOptionsKwargs ]
58+ ) -> Awaitable [AsyncQueryResult ]: ...
7959 @overload
80- def execute_query (self ,
81- statement : str ,
82- options : QueryOptions ,
83- * args : str ,
84- ** kwargs : str ) -> Awaitable [AsyncQueryResult ]: ...
85-
60+ def execute_query (
61+ self , statement : str , options : QueryOptions , * args : str , ** kwargs : str
62+ ) -> Awaitable [AsyncQueryResult ]: ...
8663 @overload
87- def execute_query (self ,
88- statement : str ,
89- * args : str ,
90- ** kwargs : str ) -> Awaitable [AsyncQueryResult ]: ...
91-
64+ def execute_query (self , statement : str , * args : str , ** kwargs : str ) -> Awaitable [AsyncQueryResult ]: ...
9265 def shutdown (self ) -> None : ...
93-
9466 @overload
9567 @classmethod
9668 def create_instance (cls , http_endpoint : str , credential : Credential ) -> AsyncCluster : ...
97-
9869 @overload
9970 @classmethod
100- def create_instance (cls ,
101- http_endpoint : str ,
102- credential : Credential ,
103- options : ClusterOptions ) -> AsyncCluster : ...
104-
71+ def create_instance (cls , http_endpoint : str , credential : Credential , options : ClusterOptions ) -> AsyncCluster : ...
10572 @overload
10673 @classmethod
107- def create_instance (cls ,
108- http_endpoint : str ,
109- credential : Credential ,
110- ** kwargs : Unpack [ClusterOptionsKwargs ]) -> AsyncCluster : ...
111-
74+ def create_instance (
75+ cls , http_endpoint : str , credential : Credential , ** kwargs : Unpack [ClusterOptionsKwargs ]
76+ ) -> AsyncCluster : ...
11277 @overload
11378 @classmethod
114- def create_instance (cls ,
115- http_endpoint : str ,
116- credential : Credential ,
117- options : ClusterOptions ,
118- ** kwargs : Unpack [ClusterOptionsKwargs ]) -> AsyncCluster : ...
79+ def create_instance (
80+ cls , http_endpoint : str , credential : Credential , options : ClusterOptions , ** kwargs : Unpack [ClusterOptionsKwargs ]
81+ ) -> AsyncCluster : ...
0 commit comments