Pattern for custom get_param_as_... #2334
Answered
by
vytas7
davetapley
asked this question in
Q&A
-
What's the best way to implement my own Ideally so I can reuse it in multiple resources. For context, I need a Pandas |
Beta Was this translation helpful? Give feedback.
Answered by
vytas7
Sep 19, 2024
Replies: 1 comment 1 reply
-
Hi @davetapley! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
davetapley
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @davetapley!
There are many ways to achieve this depending on your usage patterns. If you do like the default
get_param_as_*()
, you could maybe simply subclassRequest
, and pass the new class to yourApp
's initializer?