Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f645db7

Browse filesBrowse files
Noremac201tswast
authored andcommitted
Composer: Fix sample code region to include datetime calculation (GoogleCloudPlatform#1596)
1 parent 484f1ad commit f645db7
Copy full SHA for f645db7

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎composer/workflows/kubernetes_pod_operator.py

Copy file name to clipboardExpand all lines: composer/workflows/kubernetes_pod_operator.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
secret='airflow-secrets',
5454
key='sql_alchemy_conn')
5555

56+
# [START composer_kubernetespodoperator]
5657
YESTERDAY = datetime.datetime.now() - datetime.timedelta(days=1)
5758

58-
# [START composer_kubernetespodoperator]
5959
# If a Pod fails to launch, or has an error occur in the container, Airflow
6060
# will show the task as failed, as well as contain all of the task logs
6161
# required to debug.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.