pyfreeflow 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl

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.
@@ -158,7 +158,7 @@ class DataTransformerV1_0(FreeFlowExt):
158
158
  return lua
159
159
 
160
160
  def _dt_now_ts(self):
161
- return int(dt.datetime.now(dt.UTC).timestamp())
161
+ return int(dt.datetime.now(dt.timezone.utc).timestamp())
162
162
 
163
163
  def _dt_delta_ts(self, duration):
164
164
  return DurationParser.parse(duration)
@@ -94,13 +94,13 @@ class JwtOperatorV1_0(FreeFlowExt):
94
94
  hdr["kid"] = kid
95
95
 
96
96
  if self._duration is not None and "exp" not in body:
97
- body["exp"] = int(dt.datetime.now(dt.UTC).timestamp() + self._duration)
97
+ body["exp"] = int(dt.datetime.now(dt.timezone.utc).timestamp() + self._duration)
98
98
 
99
99
  if self._not_before is not None and "nbf" not in body:
100
- body["nbf"] = int(dt.datetime.now(dt.UTC).timestamp() + self._not_before)
100
+ body["nbf"] = int(dt.datetime.now(dt.timezone.utc).timestamp() + self._not_before)
101
101
 
102
102
  if "iat" not in body:
103
- body["iat"] = int(dt.datetime.now(dt.UTC).timestamp())
103
+ body["iat"] = int(dt.datetime.now(dt.timezone.utc).timestamp())
104
104
 
105
105
  if self._issuer is not None and "iss" not in body:
106
106
  body["iss"] = self._issuer
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyfreeflow
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Async service toolchain
5
5
  Home-page: https://github.com/senatoreg/pyfreeflow
6
6
  Author: Giovanni Senatore
@@ -5,17 +5,17 @@ pyfreeflow/utils.py,sha256=YFK1i3kfKcBqN77qagHlLgaTTG0U66OGboN4vyRQkGE,1769
5
5
  pyfreeflow/ext/__init__.py,sha256=6aIHFWxOnBFB5ztIOBDfHw3uV6uqxxCkV8-dZ7NSqp8,258
6
6
  pyfreeflow/ext/buffer_operator.py,sha256=dgYpPPkXVS4Hnq4qLnT4vqYQf52OVuO92LqbUhTkF9g,4970
7
7
  pyfreeflow/ext/crypto_operator.py,sha256=ODtAc2RQi9eNw5dLF9W1SQ7agfeWxP5vuJSklLiJLBo,1296
8
- pyfreeflow/ext/data_transformer.py,sha256=yFWnduThPbxCU7ZeWabMl8rHSBG0CUMpfgZ2xq0DCDE,6530
8
+ pyfreeflow/ext/data_transformer.py,sha256=Pq_uDm_Ekq29HpZ2QrHS_JrMWssZil3e8cZEN_Ed2mE,6539
9
9
  pyfreeflow/ext/env_operator.py,sha256=IoIpkEByrXXyBYHs4gYEPsVc3-PxfPRfxAHU-vj4SMU,605
10
10
  pyfreeflow/ext/file_operator.py,sha256=-a8dtZFAOG9V-e3O8bcaEgdY1Kfd3oTDBjsiRhB7JTc,6712
11
- pyfreeflow/ext/jwt_operator.py,sha256=gGxybcxshodRR84yR-h12AVM_kzAekzkyeBS8b9TFAU,4474
11
+ pyfreeflow/ext/jwt_operator.py,sha256=0JhiKWrscDuZf3LkPBNN6KSqWrKRC6lbrBLaoYWy_CA,4501
12
12
  pyfreeflow/ext/pgsql_executor.py,sha256=o1_uw4W_mNy1l32cKl_isROlk38JYwvjBjlCNIuzyG0,5093
13
13
  pyfreeflow/ext/rest_api_requester.py,sha256=GbV5_6-K2WVvTEhC-bo3OBs5U-M0DY6zk-nZrKoQWfA,5441
14
14
  pyfreeflow/ext/sleep_operator.py,sha256=8Uy8NWdHdpsHd1AW_Ih9U7lnmYupYWxQtsEafLBCCCQ,1403
15
15
  pyfreeflow/ext/types.py,sha256=Y2_7s6JBENhPoF-Ruu6ZcmBwS-iwyzJb56sdLwjL_es,1555
16
- pyfreeflow-0.1.1.data/scripts/pyfreeflow-cli.py,sha256=Nonkc7HCvdj5z2Xo1aeqHv7YIhuhrRtc6SB51jXwEmk,2468
17
- pyfreeflow-0.1.1.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
18
- pyfreeflow-0.1.1.dist-info/METADATA,sha256=EusqLoYo2xS8EWvVtmPyG_Wu8gPrHsNPL8HKcXtrZ4U,4381
19
- pyfreeflow-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
- pyfreeflow-0.1.1.dist-info/top_level.txt,sha256=gKG9ntX49i_frKkCy7JrPv5QUx8L14eD53bSDTGPspE,11
21
- pyfreeflow-0.1.1.dist-info/RECORD,,
16
+ pyfreeflow-0.1.2.data/scripts/pyfreeflow-cli.py,sha256=Nonkc7HCvdj5z2Xo1aeqHv7YIhuhrRtc6SB51jXwEmk,2468
17
+ pyfreeflow-0.1.2.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
18
+ pyfreeflow-0.1.2.dist-info/METADATA,sha256=iKEPFhng4fyHUCkr97DnhnIQhLSdSNvgamPMopSFUHM,4381
19
+ pyfreeflow-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
+ pyfreeflow-0.1.2.dist-info/top_level.txt,sha256=gKG9ntX49i_frKkCy7JrPv5QUx8L14eD53bSDTGPspE,11
21
+ pyfreeflow-0.1.2.dist-info/RECORD,,