We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b9f37 commit 1662f5eCopy full SHA for 1662f5e
infrahub_sdk/client.py
@@ -1953,6 +1953,11 @@ def get(
1953
return results[0]
1954
1955
def create_batch(self, return_exceptions: bool = False) -> InfrahubBatchSync:
1956
+ """Create a batch to execute multiple queries concurrently.
1957
+
1958
+ Executing the batch will be performed using a thread pool, meaning it cannot guarantee the execution order. It is not recommended to use such
1959
+ batch to manipulate objects that depend on each others.
1960
+ """
1961
return InfrahubBatchSync(
1962
max_concurrent_execution=self.max_concurrent_execution, return_exceptions=return_exceptions
1963
)
0 commit comments