__init__.py 1.1 KB

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