Skip to content

Commit

Permalink
fix deployment from notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Jul 12, 2024
1 parent edecc46 commit 54740c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.3.8

- Fix deployment from notebooks

## 2.3.7

- Added `event` function to append application event
Expand Down
3 changes: 2 additions & 1 deletion python/hal9/targets/hal9.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def request_deploy(path :str, url :str, name :str, typename :str) -> str:
'content': encoded_content,
'type': typename,
'name': name,
'format': 'b64',
}

headers = {
Expand All @@ -62,7 +63,7 @@ def deploy(path :str, url :str, name :str, typename :str) -> str:
if 'HAL9_TOKEN' in os.environ:
hal9_token = os.environ['HAL9_TOKEN']
else:
exit(f'HAL9_TOKEN environment variable missing, see {url}/deploy')
exit(f'HAL9_TOKEN environment variable missing, see https://hal9.com/deploy')
# hal9_token = browser_login()

request_deploy(path, url, name, typename)
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hal9"
version = "2.3.7"
version = "2.3.8"
description = ""
authors = ["Javier Luraschi <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 54740c4

Please sign in to comment.