GitHub / seequent/pure_interface issues and pull requests
#113 - Fixes #112. Test on 3.13 and add to pyproject.toml. Drop 3.8 as it is no longer supported.
Pull Request -
State: closed - Opened by tim-mitchell 4 months ago
#112 - Python 3.13 not listed in supported versions.
Issue -
State: closed - Opened by tim-mitchell 4 months ago
#111 - Add special attributes introduced in Python 3.13
Pull Request -
State: closed - Opened by brezitskiy 8 months ago
- 4 comments
#110 - LF-55044 Add pre-commit hooks for linting and Bentley copyrights
Pull Request -
State: closed - Opened by loganbeard-seequent 10 months ago
- 1 comment
#109 - LF-54899 Add pre-commit hooks for linting and Bentley copyrights
Pull Request -
State: closed - Opened by loganbeard-seequent 10 months ago
#108 - LF-52351 Adding ci
Pull Request -
State: closed - Opened by XavierMilesSeequent 12 months ago
- 2 comments
#107 - pure_interface.mypy_plugin [no-redef] error using Delegate
Issue -
State: open - Opened by XavierMilesSeequent about 1 year ago
#106 - Fixes type hint, permits & handles singledispatchmethod
Pull Request -
State: closed - Opened by tim-mitchell over 1 year ago
#105 - pure_interface.register_adapter() incorrect typing
Issue -
State: closed - Opened by XavierMilesSeequent over 1 year ago
#104 - Concrete subclass cannot use @singledispatchmethod and keep mypy happy
Issue -
State: closed - Opened by XavierMilesSeequent over 1 year ago
#103 - Be more pythonic
Pull Request -
State: closed - Opened by tim-mitchell over 1 year ago
#102 - Superdupa minor type annotation change
Issue -
State: closed - Opened by russell-stewart-seequent over 1 year ago
- 1 comment
#101 - Be more pythonic
Issue -
State: closed - Opened by tim-mitchell almost 2 years ago
- 1 comment
#100 - Convert `Interface.can_adapt` into a `TypeGuard`
Issue -
State: closed - Opened by russell-stewart-seequent almost 2 years ago
- 1 comment
#99 - 96: Add sub_interface_of decorator function.
Pull Request -
State: closed - Opened by tim-mitchell about 2 years ago
#98 - 97: add support for 3.12.
Pull Request -
State: closed - Opened by tim-mitchell about 2 years ago
#97 - Ensure support for Python 3.12
Issue -
State: closed - Opened by tim-mitchell about 2 years ago
#96 - Sub interface decorator
Issue -
State: closed - Opened by tim-mitchell about 2 years ago
- 1 comment
#95 - 91 be pep 561 compliant
Pull Request -
State: closed - Opened by tim-mitchell about 2 years ago
#94 - Be PEP 561 and mypy compliant
Issue -
State: closed - Opened by tim-mitchell about 2 years ago
#93 - attributes and methods provided by __init_subclass__ are not detected.
Issue -
State: closed - Opened by tim-mitchell over 2 years ago
- 1 comment
#92 - 91: fix delegate subclasses overriding base class methods.
Pull Request -
State: closed - Opened by tim-mitchell over 2 years ago
#91 - Delegates do not handle sub-classes correctly
Issue -
State: closed - Opened by tim-mitchell over 2 years ago
- 1 comment
#90 - 80 support generics
Pull Request -
State: closed - Opened by tim-mitchell over 2 years ago
#89 - Delegates
Pull Request -
State: closed - Opened by tim-mitchell over 2 years ago
#88 - is_empty fails when running optimized Python
Issue -
State: closed - Opened by ThomasMatern almost 3 years ago
- 1 comment
#87 - Async methods raise "not empty" error
Issue -
State: closed - Opened by ThomasMatern almost 3 years ago
- 1 comment
#86 - #85: Remove pycontracts support.
Pull Request -
State: closed - Opened by tim-mitchell almost 3 years ago
#85 - Python 3.10 support
Issue -
State: closed - Opened by ThomasMatern almost 3 years ago
- 1 comment
#84 - #83: Add special handling for __call__ to interface_only().
Pull Request -
State: closed - Opened by tim-mitchell almost 4 years ago
#83 - Interface only does not handle __call__
Issue -
State: closed - Opened by tim-mitchell almost 4 years ago
- 3 comments
#82 - #81 drop support for 27
Pull Request -
State: closed - Opened by tim-mitchell over 4 years ago
#81 - Drop support for python 2.7 and 3.5
Issue -
State: closed - Opened by tim-mitchell over 4 years ago
- 1 comment
#80 - Support Generics
Issue -
State: closed - Opened by tim-mitchell almost 5 years ago
- 1 comment
#79 - #78 add __setattr__ to _ImplementationWrapper.
Pull Request -
State: closed - Opened by tim-mitchell almost 5 years ago
#78 - _ImplementationWrapper needs a __setattr__
Issue -
State: closed - Opened by petergraham almost 5 years ago
- 1 comment
#77 - require same argument types
Issue -
State: closed - Opened by tim-mitchell about 5 years ago
#76 - Back-port bug fixes to 3.5
Issue -
State: closed - Opened by tim-mitchell about 5 years ago
- 1 comment
#75 - Fix adaption error
Pull Request -
State: closed - Opened by tim-mitchell about 5 years ago
#74 - InterfaceOnly class does not adapt
Issue -
State: closed - Opened by tim-mitchell about 5 years ago
#73 - 64: Fix merge and new PureInterface usages.
Pull Request -
State: closed - Opened by tim-mitchell over 5 years ago
#72 - removed deprecated functions
Pull Request -
State: closed - Opened by tim-mitchell over 5 years ago
#71 - Remove deprecated get_interface_property_names and get_interface_properties_and_attribute_names
Issue -
State: closed - Opened by tim-mitchell over 5 years ago
#70 - Check for attribute on class before instance
Pull Request -
State: closed - Opened by tim-mitchell over 5 years ago
#69 - 64 rename pureinterface
Pull Request -
State: closed - Opened by tim-mitchell over 5 years ago
#68 - #63: Don't weakref adapters.
Pull Request -
State: closed - Opened by tim-mitchell over 5 years ago
#67 - #61 positional only args
Pull Request -
State: closed - Opened by tim-mitchell over 5 years ago
#66 - #62 remove concrete class
Pull Request -
State: closed - Opened by tim-mitchell over 5 years ago
#65 - Adding interface to a subclass of a subclass causes properties to be called
Issue -
State: closed - Opened by BenLewis-Seequent over 5 years ago
- 1 comment
#64 - Rename PureInterface class to just Interface
Issue -
State: closed - Opened by tim-mitchell over 5 years ago
#63 - Closing: on_gone is Nonetype
Issue -
State: closed - Opened by matthiaskardel over 5 years ago
- 2 comments
#62 - Deprecate Concrete class
Issue -
State: closed - Opened by tim-mitchell over 5 years ago
#61 - Support positional only syntax in python 3.8
Issue -
State: closed - Opened by tim-mitchell almost 6 years ago
#60 - #59: fix warning message.
Pull Request -
State: closed - Opened by tim-mitchell almost 6 years ago
#59 - Incorrect warning information
Issue -
State: closed - Opened by tim-mitchell almost 6 years ago
- 1 comment
#58 - Extend property check to look at superclasses
Issue -
State: closed - Opened by rockg almost 6 years ago
- 1 comment
#57 - Consider deprecating allowing empty ABC base class in an Interface
Issue -
State: open - Opened by tim-mitchell about 6 years ago
#56 - 55: dataclass support.
Pull Request -
State: closed - Opened by tim-mitchell about 6 years ago
#55 - Support dataclasses
Issue -
State: closed - Opened by tim-mitchell about 6 years ago
#54 - 53 handle class kwargs
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#53 - PI does not work with __init_subclass__ with kwargs
Issue -
State: closed - Opened by ArthurGW over 6 years ago
#52 - 51: bump version number
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#51 - Release new version
Issue -
State: closed - Opened by tim-mitchell over 6 years ago
#50 - 46: Add underscore to interface only class name
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#49 - Raise AdaptionError or InterfaceError instead of other exceptions.
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#48 - adapter tracker
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#47 - raise own exception rather than KeyError
Issue -
State: closed - Opened by tim-mitchell over 6 years ago
#46 - Add leading underscore to interface only class name
Issue -
State: closed - Opened by tim-mitchell over 6 years ago
#45 - 44: Fix typo in error message
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#44 - typo in error message
Issue -
State: closed - Opened by tim-mitchell over 6 years ago
#43 - #41: Use weak ref rather than proxy.
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#42 - Added adapt_args function decorator.
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#41 - weakref TB if adapter function is garbage collected
Issue -
State: closed - Opened by tim-mitchell over 6 years ago
#40 - 37 add get interface names
Pull Request -
State: closed - Opened by tim-mitchell over 6 years ago
#39 - refactor interface-only implementation
Issue -
State: closed - Opened by tim-mitchell over 6 years ago
- 1 comment
#38 - improve documentation
Issue -
State: open - Opened by tim-mitchell over 6 years ago
Labels: help wanted
#37 - add get_interface_names() function
Issue -
State: closed - Opened by tim-mitchell over 6 years ago
Labels: enhancement
#36 - Add adapter tracking class
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
Labels: enhancement
#35 - add adapt_args decorator
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
Labels: enhancement
#34 - #32: Moved all public method implementations back onto the meta-class.
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#33 - Override .register() to do some checking
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
- 1 comment
Labels: enhancement
#32 - TBs when concrete class override PureInterface methods
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
#31 - Pure interface 28
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#30 - 29: remove functions from abstractproperties list.
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#29 - functions are not removed from abstractproperties
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
Labels: bug
#28 - Add optional_adapt() function
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
Labels: enhancement
#27 - Remove unused AttributeProperty class
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#26 - 25: Unify handling of properties and attributes.
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#25 - Remove the need to patch properties
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
- 1 comment
Labels: enhancement
#24 - 23: Don't getattr() properties in PureInterface.__call__.
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#23 - Implementation attribute check failing if exception raised within property
Issue -
State: closed - Opened by BenLewis-Seequent almost 7 years ago
- 1 comment
#22 - Check for attribute/property implemented with a function
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
- 1 comment
Labels: enhancement
#21 - Refactored adapt() to create _get_adapter() method.
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#20 - #19
Pull Request -
State: closed - Opened by tim-mitchell almost 7 years ago
#19 - Use sub-interface adapters if possible
Issue -
State: closed - Opened by tim-mitchell almost 7 years ago
- 1 comment
#18 - Create .travis.yml
Pull Request -
State: closed - Opened by tim-mitchell about 7 years ago
#17 - Update README.rst
Pull Request -
State: closed - Opened by rowanc1 about 7 years ago
#16 - Interfaces do not work well with Mock(spec=MyInterface)
Issue -
State: closed - Opened by tim-mitchell about 7 years ago
#15 - Fixes #14.
Pull Request -
State: closed - Opened by tim-mitchell over 7 years ago
#14 - Need to suppress warnings for partial implementations
Issue -
State: closed - Opened by tim-mitchell over 7 years ago
Labels: enhancement