You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Sometimes you want to get the app instance, but do not have the name of the app.
app=Sanic.get_app("what was it called again 🤔")
Describe the solution you'd like
@classmethoddefget_app(cls, name: Optional[str], *, force_create: bool=False) ->"Sanic":
# If name is None, then return the first item in the app registry
Is your feature request related to a problem? Please describe.
Sometimes you want to get the app instance, but do not have the name of the app.
Describe the solution you'd like
Additional context
See docs
The text was updated successfully, but these errors were encountered: