Skip to content

Commit

Permalink
🐛 urgent bugfix for context provisioning (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
renardeinside authored Aug 28, 2022
1 parent db5270c commit c370330
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
> And empty the **[Unreleased]** section above.
----

## [0.7.2] - 2022-08-28

## Fixed
- 🐛 bug with context provisioning for `dbx execute`

## [0.7.1] - 2022-08-28

## Added
Expand Down
2 changes: 1 addition & 1 deletion dbx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.1"
__version__ = "0.7.2"
2 changes: 1 addition & 1 deletion dbx/api/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __get_context_id(self, language: str) -> str:
dbx_echo("Preparing execution context")
ctx = LocalContextManager.get_context()

if self.__is_context_available(ctx.context_id):
if ctx and self.__is_context_available(ctx.context_id):
dbx_echo("Existing context is active, using it")
return ctx.context_id
else:
Expand Down

0 comments on commit c370330

Please sign in to comment.