Skip to content

Commit f25663b

Browse files
authored
fix(python) - fix river push default code type (#28)
1 parent 247c897 commit f25663b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rivery_cli/converters/entities/rivers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def steps_converter(self, steps: list, code_dir: str) -> [list, list]:
168168
content[global_keys.BLOCK_PRIMARY_TYPE] = primary_type
169169
content[global_keys.BLOCK_TYPE] = block_db_type
170170
content[global_keys.BLOCK_DB_TYPE] = block_db_type
171-
code_type = step.pop(global_keys.CODE_TYPE)
171+
code_type = step.pop(global_keys.CODE_TYPE, False)
172172
if code_type:
173173
content[global_keys.CODE_TYPE] = code_type
174174

rivery_cli/globals/global_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

33
# SET THE VERSION
4-
__version__ = "0.3.9"
4+
__version__ = "0.4.0"
55

66
# CONSTANTS
77
AVAILABE_RIVER_TYPES = ['logic']

0 commit comments

Comments
 (0)