-
-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
160 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
``import attrs`` has finally landed! | ||
As of this release, you can finally import ``attrs`` using its proper name. | ||
|
||
Not all names from the ``attr`` namespace have been transferred; most notably ``attr.s`` and ``attr.ib`` are missing. | ||
|
||
This feature is at least for one release **provisional**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
from attr import ( | ||
NOTHING, | ||
Attribute, | ||
Factory, | ||
__author__, | ||
__copyright__, | ||
__description__, | ||
__doc__, | ||
__email__, | ||
__license__, | ||
__title__, | ||
__url__, | ||
__version__, | ||
__version_info__, | ||
assoc, | ||
cmp_using, | ||
converters, | ||
define, | ||
evolve, | ||
exceptions, | ||
field, | ||
fields, | ||
fields_dict, | ||
filters, | ||
frozen, | ||
has, | ||
make_class, | ||
mutable, | ||
resolve_types, | ||
setters, | ||
validate, | ||
validators, | ||
) | ||
from attr._next_gen import asdict, astuple | ||
|
||
|
||
__all__ = [ | ||
"__author__", | ||
"__copyright__", | ||
"__description__", | ||
"__doc__", | ||
"__email__", | ||
"__license__", | ||
"__title__", | ||
"__url__", | ||
"__version__", | ||
"__version_info__", | ||
"asdict", | ||
"assoc", | ||
"astuple", | ||
"Attribute", | ||
"cmp_using", | ||
"converters", | ||
"define", | ||
"evolve", | ||
"exceptions", | ||
"Factory", | ||
"field", | ||
"fields_dict", | ||
"fields", | ||
"filters", | ||
"frozen", | ||
"has", | ||
"make_class", | ||
"mutable", | ||
"NOTHING", | ||
"resolve_types", | ||
"setters", | ||
"validate", | ||
"validators", | ||
] |
Oops, something went wrong.