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

* Remove staticmethod decorator from __call__ method of SingletonAPI #4981

Merged

Conversation

kajarenc
Copy link
Collaborator

Remove staticmethod decorator from call method of SingletonAPI to avoid mypy bug python/mypy#7781

📚 Context

Please describe the project or issue background here

  • What kind of change does this PR introduce?

    • Bugfix
    • Feature
    • Refactoring
    • Other, please describe:

🧠 Description of Changes

  • Add bullet points summarizing your changes here

    • This is a breaking API change
    • This is a visible (user-facing) change

Revised:

Insert screenshot of your updated UI/code here

Current:

Insert screenshot of existing UI/code here

🧪 Testing Done

  • Screenshots included
  • Added/Updated unit tests
  • Added/Updated e2e tests

🌐 References

Does this depend on other work, documents, or tickets?

  • Issue: Closes #XXXX

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@kajarenc kajarenc marked this pull request as ready for review July 15, 2022 16:34
@kajarenc kajarenc requested a review from a team July 15, 2022 16:34
@kajarenc kajarenc merged commit 9ca6ab7 into streamlit:develop Jul 15, 2022
tconkling added a commit to tconkling/streamlit that referenced this pull request Jul 15, 2022
…untime

* tim/SessionClientDisconnectedError:
  better docstring
  typo
  SessionClientDisconnectedError, with test
  WIP
  * Remove staticmethod decorator from __call__ method of SingletonAPI to avoid mypy bug python/mypy#7781 (streamlit#4981)
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.

2 participants