Skip to content

Commit

Permalink
Update abstra-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
abstra-bot committed Aug 17, 2023
1 parent 1e0dd91 commit 99f49c6
Show file tree
Hide file tree
Showing 138 changed files with 526 additions and 248 deletions.
4 changes: 2 additions & 2 deletions abstra/forms/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def run(
widget.initial_value = initial_payload[widget.key]

widgets_json = self.__get_validated_page_widgets_json(
dict(**(initial_payload or {}), **self.convert_answer({}))
{**(initial_payload or {}), **self.convert_answer({})}
)

if self.__is_progress_screen():
Expand Down Expand Up @@ -118,7 +118,7 @@ def __user_event_messages(self, validate, initial_payload: Dict):
while response["type"] == "user-event":
converted_payload = self.convert_answer(response["payload"])
widgets_json = self.__get_validated_page_widgets_json(
dict(**initial_payload, **converted_payload)
{**initial_payload, **converted_payload}
)
self.__send_user_event_message(
widgets=widgets_json,
Expand Down
8 changes: 1 addition & 7 deletions abstra_server/runtimes/forms/message_handler.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import inspect

from ...session import LiveSession
from ...contract import forms_contract

from abstra.forms.debug_utils import Frames, make_debug_data, CloseDTO
from abstra.forms.debug_utils import Frames, CloseDTO

"""
class Connection:
Expand Down Expand Up @@ -48,9 +45,6 @@ def __browser_msg_handler(self) -> dict:

# Connection interface
def send(self, data: dict, frames: Frames = None):
if self.session.is_preview:
debug = make_debug_data(frames or inspect.stack())
data.update(debug)
self.session.send(forms_contract.GenericMessage(data))

def receive(self, path: str = ""):
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

2 changes: 2 additions & 0 deletions abstra_statics/dist/assets/ApiKeys.744bfb0d.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions abstra_statics/dist/assets/ApiKeys.e8a46823.js

This file was deleted.

2 changes: 2 additions & 0 deletions abstra_statics/dist/assets/BackButton.8dccce05.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions abstra_statics/dist/assets/BackButton.9f62ea3d.js

This file was deleted.

2 changes: 2 additions & 0 deletions abstra_statics/dist/assets/BackButton.c6045070.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions abstra_statics/dist/assets/BackButton.d82e0433.js

This file was deleted.

4 changes: 4 additions & 0 deletions abstra_statics/dist/assets/Builds.464c8148.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 99f49c6

Please sign in to comment.