|
91 | 91 | ServerVersion, |
92 | 92 | AnyEntityDict, |
93 | 93 | StreamType, |
94 | | - BackgroundOperation, |
| 94 | + BackgroundOperationTask, |
95 | 95 | ) |
96 | 96 |
|
97 | 97 | VERSION_REGEX = re.compile( |
@@ -1913,7 +1913,7 @@ def send_background_batch_operations( |
1913 | 1913 | can_fail: bool = False, |
1914 | 1914 | wait: bool = False, |
1915 | 1915 | raise_on_fail: bool = True, |
1916 | | - ) -> BackgroundOperation: |
| 1916 | + ) -> BackgroundOperationTask: |
1917 | 1917 | """Post multiple CRUD operations to server. |
1918 | 1918 |
|
1919 | 1919 | When multiple changes should be made on server side this is the best |
@@ -1946,7 +1946,7 @@ def send_background_batch_operations( |
1946 | 1946 | or 'raise_on_fail' is enabled and any operation fails. |
1947 | 1947 |
|
1948 | 1948 | Returns: |
1949 | | - BackgroundOperation: Background operation. |
| 1949 | + BackgroundOperationTask: Background operation. |
1950 | 1950 |
|
1951 | 1951 | """ |
1952 | 1952 | operations_body = self._prepare_operations_body(operations) |
@@ -1977,15 +1977,15 @@ def send_background_batch_operations( |
1977 | 1977 |
|
1978 | 1978 | def get_background_operations_status( |
1979 | 1979 | self, project_name: str, task_id: str |
1980 | | - ) -> BackgroundOperation: |
| 1980 | + ) -> BackgroundOperationTask: |
1981 | 1981 | """Get status of background operations task. |
1982 | 1982 |
|
1983 | 1983 | Args: |
1984 | 1984 | project_name (str): Project name. |
1985 | 1985 | task_id (str): Backgorund operation task id. |
1986 | 1986 |
|
1987 | 1987 | Returns: |
1988 | | - BackgroundOperation: Background operation. |
| 1988 | + BackgroundOperationTask: Background operation. |
1989 | 1989 |
|
1990 | 1990 | """ |
1991 | 1991 | response = self.get( |
|
0 commit comments