You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
default t.supports: <__main__.MyClass object at 0x7fd61a97e620>
default t.supports_: <__main__.MyClass object at 0x7fd61a97e620>
set t.supports: <__main__.MyClassTestInterfaceAdapter object at 0x7fd61a97e6d0>
set t.supports_: <__main__.MyClass object at 0x7fd61a97e678>
default t.adapts_to: <__main__.MyClass object at 0x7fd61a97e620>
default t.adapts_to_: <__main__.MyClass object at 0x7fd61a97e620>
set t.adapts_to: <__main__.MyClass object at 0x7fd61a97e728>
set t.adapts_to_: <__main__.MyClassTestInterfaceAdapter object at 0x7fd61a97e780
Notice that the default values of supports and adapts_to are not of the expected types - they have not had adaptation applied to them.
This can probably be fixed by refactoring them to be simpler mapped traits.
The text was updated successfully, but these errors were encountered:
When running the following code:
we get output
Notice that the default values of
supports
andadapts_to
are not of the expected types - they have not had adaptation applied to them.This can probably be fixed by refactoring them to be simpler mapped traits.
The text was updated successfully, but these errors were encountered: