mapres 2.4.dev3__tar.gz → 2.4.dev4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 2.4.dev3
3
+ Version: 2.4.dev4
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "mapres"
10
- version = "2.4-dev.3"
10
+ version = "2.4-dev.4"
11
11
  description = "A powerfull mapping utility"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
@@ -39,7 +39,7 @@ def datamap(
39
39
  _cls = None,
40
40
  *,
41
41
  syntax: str = syntax.braces,
42
- mode: bool | None = None,
42
+ mode: bool | str | None = None,
43
43
  ):
44
44
  '''@datamap decorator with optional values'''
45
45
  def wrap(cls):
@@ -14,20 +14,20 @@ def safe_zoneinfo(tz: str):
14
14
  class TimeMap:
15
15
  _default_tz = safe_zoneinfo("America/Chicago")
16
16
 
17
- hh: str = None
18
- h: str = None
19
- h12: str = None
20
- hh12: str = None
21
- ampm: str = None
22
- mm: str = None
23
- m: str = None
24
- ss: str = None
25
- s: str = None
26
- ms: str = None
27
- YYYY: str = None
28
- MM: str = None
29
- DD: str = None
30
- weekday: str = None
17
+ hh: str | None = None
18
+ h: str | None = None
19
+ h12: str | None = None
20
+ hh12: str | None = None
21
+ ampm: str | None = None
22
+ mm: str | None = None
23
+ m: str | None = None
24
+ ss: str | None = None
25
+ s: str | None = None
26
+ ms: str | None = None
27
+ YYYY: str | None = None
28
+ MM: str | None = None
29
+ DD: str | None = None
30
+ weekday: str | None = None
31
31
 
32
32
  def __init__(self, tz: str | None = None):
33
33
  self.TZ = safe_zoneinfo(tz) if tz else self._default_tz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 2.4.dev3
3
+ Version: 2.4.dev4
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes