Ryan Gibbard
Ryan Gibbard
Probably because it’s deprecated and will be desupported in 19c.
@peterwoodworth an instance of `S3EventBusFilterPolicy`. It implements `Mapping` so according to the type declaration for LambdaSubscription's filter_policy argument it should work. ``` copy_file_filter = S3EventBusFilterPolicy() file_copier = S3EventBusObjectCopier( self, "TestFileCopier",...
@peterwoodworth yeah that works, but the issue here is really that the type hint for `subs.LambdaSubscription` is wrong. It cannot simply take an object that `isinstance(obj, typing.Mapping)`. It seems to...
@peterwoodworth I want to be able to pass a fully typed object to LambdaSubscription that wraps the `SubscriptionFilter` objects, rather than a dictionary of magic string keys and `SubscriptionFilter` object...