Skip to content

Commit

Permalink
Add js templates
Browse files Browse the repository at this point in the history
Add method to get templates
Add Wrapper class to store app wrapper (wrapper.py)
Support enums
Add --auto mode
Cleanup
First try to make app wrapper, then try to upload, instead of the other way around
Give warning if detected version is not matching provided
Profile is not required
pep8 pack
appid not required if dump-sb-app is used
  • Loading branch information
pavlemarinkovic committed Jan 30, 2024
1 parent 9d620e5 commit 80c0d4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbpack/lib.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Union
from typing import Union, Optional
from copy import deepcopy
from urllib.parse import ParseResult, urlparse, urljoin
from urllib.request import urlopen
Expand Down Expand Up @@ -73,7 +73,7 @@ def normalize_to_map(obj: Union[list, dict], key_field: str):


def normalize_to_list(
obj: Union[list, dict], key_field: str, value_field: Union[str, None]):
obj: Union[list, dict], key_field: str, value_field: Optional[str]):
if isinstance(obj, list):
return deepcopy(obj)
elif isinstance(obj, dict):
Expand Down

0 comments on commit 80c0d4b

Please sign in to comment.