passphera-core 0.29.0__tar.gz → 0.30.0__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: passphera-core
3
- Version: 0.29.0
3
+ Version: 0.30.0
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -30,8 +30,8 @@ _default_properties: dict[str, str] = {
30
30
  @dataclass
31
31
  class Password:
32
32
  id: UUID = field(default_factory=uuid4)
33
- created_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc))
34
- updated_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc))
33
+ created_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc).isoformat())
34
+ updated_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc).isoformat())
35
35
  context: str = field(default_factory=str)
36
36
  text: str = field(default_factory=str)
37
37
  password: str = field(default_factory=str)
@@ -82,8 +82,8 @@ class Password:
82
82
  @dataclass
83
83
  class Generator:
84
84
  id: UUID = field(default_factory=uuid4)
85
- created_at: datetime = field(default_factory=datetime.now)
86
- updated_at: datetime = field(default_factory=datetime.now)
85
+ created_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc).isoformat())
86
+ updated_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc).isoformat())
87
87
  shift: int = field(default=_default_properties["shift"])
88
88
  multiplier: int = field(default=_default_properties["multiplier"])
89
89
  key: str = field(default=_default_properties["key"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: passphera-core
3
- Version: 0.29.0
3
+ Version: 0.30.0
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -5,7 +5,7 @@ with open("README.md", "r") as f:
5
5
 
6
6
  setup(
7
7
  name='passphera-core',
8
- version='0.29.0',
8
+ version='0.30.0',
9
9
  author='Fathi Abdelmalek',
10
10
  author_email='abdelmalek.fathi.2001@gmail.com',
11
11
  url='https://github.com/passphera/core',