Content-Length: 268857 | pFad | http://github.com/apache/airflow/pull/20905/files

27 batch as templated field in DataprocCreateBatchOperator by wsmolak · Pull Request #20905 · apache/airflow · GitHub
Skip to content

batch as templated field in DataprocCreateBatchOperator #20905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions airflow/providers/google/cloud/operators/dataproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2025,12 +2025,16 @@ class DataprocCreateBatchOperator(BaseOperator):
"""
Creates a batch workload.

:param project_id: Required. The ID of the Google Cloud project that the cluster belongs to.
:param region: Required. The Cloud Dataproc region in which to handle the request.
:param batch: Required. The batch to create.
:param project_id: Required. The ID of the Google Cloud project that the cluster belongs to. (templated)
:type project_id: str
:param region: Required. The Cloud Dataproc region in which to handle the request. (templated)
:type region: str
:param batch: Required. The batch to create. (templated)
:type batch: google.cloud.dataproc_v1.types.Batch
:param batch_id: Optional. The ID to use for the batch, which will become the final component
of the batch's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/. (templated)
:type batch_id: str
:param request_id: Optional. A unique id used to identify the request. If the server receives two
``CreateBatchRequest`` requests with the same id, then the second request will be ignored and
the first ``google.longrunning.Operation`` created and stored in the backend is returned.
Expand All @@ -2052,6 +2056,7 @@ class DataprocCreateBatchOperator(BaseOperator):

template_fields: Sequence[str] = (
'project_id',
'batch',
'batch_id',
'region',
'impersonation_chain',
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/apache/airflow/pull/20905/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy