File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed
Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 22Change Log
33==========
44
5+ v2.2.3 (2025-03-14)
6+ ===================
7+
8+ * Documentation correction.
9+
10+
511v2.2.2 (2025-03-07)
612===================
713
Original file line number Diff line number Diff line change 2525
2626# -- Project information -----------------------------------------------------
2727
28- project = 'enum-properties'
29- copyright = f'2022-{ datetime .now ().year } , Brian Kohan'
30- author = 'Brian Kohan'
31-
32- # The full version, including alpha/beta/rc tags
28+ project = enum_properties .__title__
29+ copyright = enum_properties .__copyright__
30+ author = enum_properties .__author__
3331release = enum_properties .__version__
3432
3533
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " enum-properties"
7- version = " 2.2.2 "
7+ version = " 2.2.3 "
88description = " Add properties and method specializations to Python enumeration values with a simple declarative syntax."
99requires-python = " >=3.8,<4.0"
1010authors = [
Original file line number Diff line number Diff line change 1919from dataclasses import dataclass
2020from functools import cached_property
2121
22- VERSION = (2 , 2 , 2 )
22+ VERSION = (2 , 2 , 3 )
2323
2424__title__ = "Enum Properties"
2525__version__ = "." .join (str (i ) for i in VERSION )
@@ -111,7 +111,9 @@ class MyEnum(EnumProperties):
111111 def name(self):
112112 return "value"
113113
114- :param values: The enumeration value(s) to specialize
114+
115+ :param case_fold: Pass True to make the property case insensitive
116+ :param match_none: Pass True to make None values symmetric
115117 :return: A decorated specialized member method
116118 """
117119
You can’t perform that action at this time.
0 commit comments