Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: change the
_json
attribute to a property using `attrs.as…
…dict` (#1126) * refactor!: use `attrs.asdict` as a way to get json data of the object * refactor: remove `self._json` mentions * ci: correct from checks. * refactor: wsclient is hard. part I * ci: correct from checks. * Update attrs_utils.pyi * refactor: remove json editing * refactor: why * refactor: add wat * refactor: limit `._json` usage & remove json modifing * ci: correct from checks. * refactor: run pre-commit * fix: oop * refactor: wsclient is hard. part 2 * chore: remove comment * ci: correct from checks. * refactor: remove comments and debug print * refactor(channel): remove _json modifing * chore: remove comment * refactor: wsclient is hard. Part 3. refactor `__sub_command_context` * ci: correct from checks. * chore: remove comments * Update interactions/utils/attrs_utils.py * Update interactions/client/models/component.py Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com> * Update interactions/client/models/component.py Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com> * Update interactions/client/models/component.py Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com> * Update interactions/client/models/component.py Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com> * Update interactions/client/models/component.py Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com> * Update attrs_utils.py * fix syntax error * ci: correct from checks. * fix: missed action rows in the modal components * ci: correct from checks. * remove comment * if snowflakes are technically str, why i have to do this? Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com>
- Loading branch information
1 parent
e07eecc
commit a23d25e
Showing
11 changed files
with
122 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.