zopefoundation / zope.configuration

Extensible system for supporting various kinds of configurations
https://zopeconfiguration.readthedocs.io
Other
1 stars 6 forks source link

Removed import #38

Closed papachoco closed 6 years ago

papachoco commented 6 years ago

Jason,

In the our application (dataserver) we are using

from zope import interface
from zope.configuration import fields

class IAWSKey(interface.Interface):
    grant = fields.TextLine(title=u"rant type", required=False)

in zope.configuration 4.2.1 (fields.py) the from zope.schema import TextLine line was removed. ( I guess we should be using zope.schema directly). but this may affect other users

Carlos

jamadden commented 6 years ago

Thanks for the report. That's not a documented API of that module (https://zopeconfiguration.readthedocs.io/en/latest/api/fields.html), it's an internal implementation detail. Internal implementation details are subject to change at any time.

jamadden commented 6 years ago

Assuming your IDE suggested using that detail, what might help would be the addition of __all__ for the supported API.