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 Dec 27, 2024
1 parent 41ed247 commit be13787
Show file tree
Hide file tree
Showing 220 changed files with 422 additions and 421 deletions.
7 changes: 4 additions & 3 deletions abstra_internals/controllers/sdk_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@ def __repr__(self) -> str:
def __getitem__(self, key: str) -> object:
return self._dto.payload[key]

def __getattr__(self, key: str) -> object:
return self._dto.payload[key]

def __setitem__(self, key: str, value: str) -> None:
raise TaskWriteAttempt()

@property
def id(self) -> str:
return self._dto.id

@property
def type(self) -> str:
return self._dto.type

def get_payload(self) -> TaskPayload:
return self._dto.payload

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

# You can use the get_trigger_task function to get the task that triggered the script
task = get_trigger_task()
best_movie = task.best_movie
interview_opt_in = task.interview_opt_in
rating = task.rating
best_movie = task["best_movie"]
interview_opt_in = task["interview_opt_in"]
rating = task["rating"]

reasons = []

Expand Down

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

This file was deleted.

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

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions abstra_statics/dist/assets/ApiKeys.d4c5e248.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.e1b78609.js

This file was deleted.

2 changes: 0 additions & 2 deletions abstra_statics/dist/assets/App.42ad7428.js

This file was deleted.

2 changes: 2 additions & 0 deletions abstra_statics/dist/assets/App.9a0562de.js

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

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

2 changes: 2 additions & 0 deletions abstra_statics/dist/assets/Avatar.48fa4815.js

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

Loading

0 comments on commit be13787

Please sign in to comment.