Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-29.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: fix
fix:
description: Fix missing kwargs in query context
links:
- https://github.com/palantir/python-compute-module/pull/29
5 changes: 4 additions & 1 deletion compute_modules/context/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ class QueryContext:
"""

sources: Optional[Dict[str, Any]] = None
"""dict containing the metadata of any sources configured for this compute module."""
"""dict containing the secrets of any sources configured for this compute module."""

source_configs: Optional[Dict[str, Any]] = None
"""dict containing the configuration of any sources configured for this compute module."""

userId: Optional[str] = None
"""The unique identifier for the user who initiated the job"""