Skip to content

Conversation

@Toricane
Copy link
Contributor

About this Pull Request

This pull request accepts str custom_id in component callbacks, which effectively lets you pass a custom_id instead of a component in the component callback decorator.
See #380, I made this so it targets unstable and also I messed up #380.
this PR does not add anything new, only modifies a couple of lines to accept custom_id in component callbacks.

Checklist

  • I've run the pre_push.py script to format and lint the change(s) made.
  • I've checked to make sure this pull request runs on Python 3.6.X.
  • This fixes/solves something from the project's Issues.
    • Issue (if referenceable):
  • This adds something new.
    • This is not a code change.
    • (If required) Relevant documentation has been updated/added.
    • There is/are (a) breaking change(s).

Copy link
Contributor

@i0bs i0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@i0bs
Copy link
Contributor

i0bs commented Dec 16, 2021

Merging this pull request, thank you for your contribution!

@i0bs i0bs merged commit 6ef5e66 into interactions-py:unstable Dec 16, 2021
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