Skip to content
Merged
Changes from 3 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
4 changes: 4 additions & 0 deletions cosmos/operators/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
pass

AbstractDbtBase.__init__(self, **base_kwargs)

container_resources = operator_kwargs.get("container_resources")
if isinstance(container_resources, dict):
Comment thread
tatiana marked this conversation as resolved.
operator_kwargs["container_resources"] = k8s.V1ResourceRequirements(**container_resources)

Check warning on line 104 in cosmos/operators/kubernetes.py

View check run for this annotation

Codecov / codecov/patch

cosmos/operators/kubernetes.py#L104

Added line #L104 was not covered by tests
KubernetesPodOperator.__init__(self, **operator_kwargs)

def build_env_args(self, env: dict[str, str | bytes | PathLike[Any]]) -> None:
Expand Down