-
Notifications
You must be signed in to change notification settings - Fork 11
Support grpc options #188
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
Support grpc options #188
Conversation
Signed-off-by: Matej Ohradzansky <[email protected]>
Signed-off-by: Matej Ohradzansky <[email protected]>
|
@P0t4T0o If you can resolve the lint error, I'll get a new version of this released with it. |
Signed-off-by: Matej Ohradzansky <[email protected]>
|
Hi @iciclespider, |
crossplane/function/runtime.py
Outdated
| address: The address at which to listen for requests. | ||
| creds: The credentials used to authenticate requests. | ||
| insecure: Serve insecurely, without credentials or encryption. | ||
| options: Additional gRPC server options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: we can give some option examples
ezgidemirel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @P0t4T0o, LGTM!
Signed-off-by: Matej Ohradzansky <[email protected]>
| from collections.abc import Sequence | ||
| from typing import Any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We typically try to avoid importing types directly, but instead only import packages. I thought our linter should catch this. I'll update it.
Description of your changes
Fixes #187
I have:
[ ] Added or updated unit tests for my change.