Skip to content
Discussion options

You must be logged in to vote

No, all arguments are not needed. It seems, the problem is not with the arguments, but specifically with memo: kopf.Memo. The callback type is declared to also accept any kind of object (defined as AnyMemo=Union[Memo, object]), but it does not work as expected when the actual kwarg is more specific than the expected callback type. I'll take a look at how this can be improved.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@heilerich
Comment options

@nolar
Comment options

nolar May 1, 2021
Maintainer

@heilerich
Comment options

@nolar
Comment options

nolar May 1, 2021
Maintainer

@reegnz
Comment options

Answer selected by heilerich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants