Skip to content

Commit

Permalink
refactor: rename a_load -> async_load
Browse files Browse the repository at this point in the history
Co-authored-by: Sophia <41456914+i0bs@users.noreply.github.com>
Signed-off-by: LordOfPolls <dev@lordofpolls.com>
  • Loading branch information
LordOfPolls and i0bs authored Jul 30, 2023
1 parent c80222c commit b29a117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions/models/internal/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def load(self, *args, **kwargs):
"""Run on extension load"""
...

async def a_load(self, *args, **kwargs):
async def async_load(self, *args, **kwargs) -> Callable[[], ...]:
"""Run on extension load, if there is a valid event loop"""
...

Expand Down

0 comments on commit b29a117

Please sign in to comment.