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

Add config updater #21

Closed
wants to merge 3 commits into from
Closed

Add config updater #21

wants to merge 3 commits into from

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Oct 6, 2023

Add config updater


server_runnable = RunnableLambda(add_one)

add_routes(app, server_runnable, path="/add_one", config_updater=config_updater)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe call this config_extractor?

And how do I actually call this as an end user? A config body param?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is for picking up information from request headers / cookies if needed for some reason and placing it inside the config.

@eyurtsev
Copy link
Collaborator Author

We're holding off for a bit until we see a real use case

@eyurtsev
Copy link
Collaborator Author

eyurtsev commented Nov 7, 2023

Handled by #161

@eyurtsev eyurtsev closed this Nov 7, 2023
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