Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix session #646

Merged
merged 2 commits into from
Jan 20, 2024
Merged

fix session #646

merged 2 commits into from
Jan 20, 2024

Conversation

Drelf2018
Copy link
Collaborator

@Drelf2018 Drelf2018 commented Jan 14, 2024

修复 Session 不能正确绑定的问题

  • 重载装饰器
  • 重命名启动函数参数 except_selfexclude_self
  • 一些注释修改
  • 现在使用 logging.error 打印错误提示

@z0z0r4
Copy link
Collaborator

z0z0r4 commented Jan 14, 2024

my bad:(

@Drelf2018
Copy link
Collaborator Author

其实我一直在想,如何优雅的把字典解析为对象,现在的代码不是很优雅

self.__dict__.update(data)

@Nemo2011
Copy link
Owner

也许可以试试 __setattr__

@Nemo2011 Nemo2011 merged commit 003c1c3 into dev Jan 20, 2024
@Drelf2018 Drelf2018 deleted the fix-session branch March 23, 2024 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants