Skip to content

issues Search Results · repo:ssanderson/python-interface language:Python

Filter by

23 results
 (60 ms)

23 results

inssanderson/python-interface (press backspace or delete to remove)

According to docs, Interfaces can declare non-method attributes that should be provided by implementations using property... In the meanwhile it seems that the module does not make any difference between ...
  • ashkan-khd
  • Opened 
    on Jul 30, 2023
  • #51

When trying to import Interface module into a package, i m getting following error from interface import Interface Traceback (most recent call last): File stdin , line 1, in module ModuleNotFoundError: ...
  • ghost
  • Opened 
    on Jan 6, 2023
  • #50

Hi @ssanderson, congratulations for this package! (btw, it should be included in python s stdlib) I d like to tell there may be an issue when there is a default property setter. from interface import ...
  • Diogo-Rossi
  • 1
  • Opened 
    on Apr 4, 2022
  • #49

Do you have the above somewhere?
  • hasii2011
  • 1
  • Opened 
    on Mar 28, 2022
  • #48

I have a generic interface class using typing.Generic: class MyInterface(Generic[T]). I want to use python-interface for better conformance and checking. However, if I add Interface as a base class: class ...
  • adishavit
  • 1
  • Opened 
    on Jun 3, 2021
  • #47

I installed python-interface package via pip: pip install python-interface with the following output: Requirement already satisfied: python-interface in c:\users\amar budhiraja\.conda\envs\keras\lib\site-packages ...
question
  • budhiraja
  • 2
  • Opened 
    on Dec 23, 2020
  • #43

Hi, first of all thanks for this amazing library! I have a problem though, when using interfaces with typed arguments. As I understand it, if a function accept argument of class A, if B inherits from A, ...
enhancement
  • isaaclok
  • 2
  • Opened 
    on Dec 9, 2020
  • #42

Hi, First, I thanks you by this lib, is very good. I have a question, is its possible omite or remove the messages from @interface.default when I use variables? `The following attributes are used but are ...
question
  • MarceloBaeza
  • 1
  • Opened 
    on Nov 12, 2020
  • #41

Hello! Thanks for a great Python module. I m using this to define an interface with class properties (member variables). I would like to provide a default value for these variables (e.g. None), but I ...
  • aaronsnoswell
  • 1
  • Opened 
    on Jul 27, 2020
  • #39

Hi, Thank you for this great library. My question is already in the title. I want to implement the methods in the interface but for some unrelated reasons I am using some decorators which can vary depending ...
question
  • gtato
  • 2
  • Opened 
    on Mar 5, 2020
  • #34
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub