Skip to content
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

Fix Jinja #710

Merged
merged 4 commits into from
Mar 8, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Fix some annoying space issues in context doc
  • Loading branch information
cicdw committed Mar 8, 2019
commit b0a2c5672484f4dde89cee05337625a4325c1bae
4 changes: 3 additions & 1 deletion src/prefect/utilities/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@

```python
import prefect.context

with prefect.context(a=1, b=2):
print(prefect.context.a) # 1
print (prefect.context.a) # undefined

print(prefect.context.a) # undefined
```

Prefect provides various key / value pairs in context that are always available during task runs:
Expand Down