__init__.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # SPDX-License-Identifier: MIT
  2. from attr import (
  3. NOTHING,
  4. Attribute,
  5. Factory,
  6. __author__,
  7. __copyright__,
  8. __description__,
  9. __doc__,
  10. __email__,
  11. __license__,
  12. __title__,
  13. __url__,
  14. __version__,
  15. __version_info__,
  16. assoc,
  17. cmp_using,
  18. define,
  19. evolve,
  20. field,
  21. fields,
  22. fields_dict,
  23. frozen,
  24. has,
  25. make_class,
  26. mutable,
  27. resolve_types,
  28. validate,
  29. )
  30. from attr._next_gen import asdict, astuple
  31. from . import converters, exceptions, filters, setters, validators
  32. __all__ = [
  33. "__author__",
  34. "__copyright__",
  35. "__description__",
  36. "__doc__",
  37. "__email__",
  38. "__license__",
  39. "__title__",
  40. "__url__",
  41. "__version__",
  42. "__version_info__",
  43. "asdict",
  44. "assoc",
  45. "astuple",
  46. "Attribute",
  47. "cmp_using",
  48. "converters",
  49. "define",
  50. "evolve",
  51. "exceptions",
  52. "Factory",
  53. "field",
  54. "fields_dict",
  55. "fields",
  56. "filters",
  57. "frozen",
  58. "has",
  59. "make_class",
  60. "mutable",
  61. "NOTHING",
  62. "resolve_types",
  63. "setters",
  64. "validate",
  65. "validators",
  66. ]