Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
schrockn committed Sep 15, 2023
1 parent 3ecd87e commit 37b7249
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ def __init__(

self._resources = None
self.resource_defs = wrap_resources_for_execution(resources_dict_or_resources_obj)

if not self.resource_defs:
self._resources = ScopedResourcesBuilder.build_empty()
if not self.resource_defs:
self._resources = ScopedResourcesBuilder.build_empty()

def call_on_enter(self) -> None:
self._cm_scope_entered = True
Expand Down

0 comments on commit 37b7249

Please sign in to comment.