bw-processing 0.9.2__tar.gz → 0.9.3__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.
- {bw_processing-0.9.2/bw_processing.egg-info → bw_processing-0.9.3}/PKG-INFO +1 -1
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/__init__.py +1 -1
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/utils.py +4 -4
- {bw_processing-0.9.2 → bw_processing-0.9.3/bw_processing.egg-info}/PKG-INFO +1 -1
- {bw_processing-0.9.2 → bw_processing-0.9.3}/LICENSE +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/MANIFEST.in +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/README.md +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/array_creation.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/constants.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/datapackage.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/errors.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/examples/__init__.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/examples/interfaces.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/examples/parquet_files.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/examples/simple.zip +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/filesystem.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/indexing.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/io_helpers.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/io_parquet_helpers.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/io_pyarrow_helpers.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/merging.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/proxies.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing/unique_fields.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing.egg-info/SOURCES.txt +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing.egg-info/dependency_links.txt +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing.egg-info/not-zip-safe +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing.egg-info/requires.txt +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/bw_processing.egg-info/top_level.txt +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/dev/calculation_package.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/dev/loading.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/dev/processed_package.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/dev/resources.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/dev/speed_tests.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/docs/conf.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/pyproject.toml +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/setup.cfg +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/tests/fixtures/basic_arrays.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/tests/helpers/__init__.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/tests/helpers/basic_array_helpers.py +0 -0
- {bw_processing-0.9.2 → bw_processing-0.9.3}/tests/test_utils.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import datetime
|
|
2
2
|
from io import BytesIO
|
|
3
3
|
from pathlib import Path
|
|
4
4
|
from typing import Any, Union
|
|
@@ -101,9 +101,9 @@ def resolve_dict_iterator(iterator: Any, nrows: int = None) -> tuple:
|
|
|
101
101
|
)
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
def utc_now() -> datetime:
|
|
104
|
+
def utc_now() -> datetime.datetime:
|
|
105
105
|
"""Get current datetime compatible with Py 3.8 to 3.12"""
|
|
106
106
|
if hasattr(datetime, "UTC"):
|
|
107
|
-
return datetime.now(datetime.UTC)
|
|
107
|
+
return datetime.datetime.now(datetime.UTC)
|
|
108
108
|
else:
|
|
109
|
-
return datetime.utcnow()
|
|
109
|
+
return datetime.datetime.utcnow()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|