Skip to content

Commit 8dd8275

Browse files
authored
docs(composer): clarify optional parameter
1 parent eec2b8c commit 8dd8275

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

composer/airflow_1_samples/kubernetes_pod_operator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@
211211
# Can be a large range of data, and can include characters that are not
212212
# permitted by labels.
213213
annotations={'key1': 'value1'},
214-
# Resource specifications for Pod, this will allow you to set both cpu
215-
# and memory limits and requirements.
214+
# Optional resource specifications for Pod, this will allow you to
215+
# set both cpu and memory limits and requirements.
216216
# Prior to Airflow 1.10.4, resource specifications were
217217
# passed as a Pod Resources Class object,
218218
# If using this example on a version of Airflow prior to 1.10.4,

composer/workflows/kubernetes_pod_operator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
# Can be a large range of data, and can include characters that are not
216216
# permitted by labels.
217217
annotations={'key1': 'value1'},
218-
# Resource specifications for Pod, this will allow you to set both cpu
219-
# and memory limits and requirements.
218+
# Optional resource specifications for Pod, this will allow you to
219+
# set both cpu and memory limits and requirements.
220220
# Prior to Airflow 1.10.4, resource specifications were
221221
# passed as a Pod Resources Class object,
222222
# If using this example on a version of Airflow prior to 1.10.4,

0 commit comments

Comments
 (0)