datatailr 0.1.5__py3-none-any.whl → 0.1.8__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.

Potentially problematic release.


This version of datatailr might be problematic. Click here for more details.

@@ -1,38 +0,0 @@
1
- # *************************************************************************
2
- #
3
- # Copyright (c) 2025 - Datatailr Inc.
4
- # All Rights Reserved.
5
- #
6
- # This file is part of Datatailr and subject to the terms and conditions
7
- # defined in 'LICENSE.txt'. Unauthorized copying and/or distribution
8
- # of this file, in parts or full, via any medium is strictly prohibited.
9
- # *************************************************************************
10
-
11
- from datatailr.logging import DatatailrLogger
12
- from datatailr.scheduler import batch
13
-
14
- logger = DatatailrLogger(__name__).get_logger()
15
-
16
-
17
- @batch()
18
- def foo():
19
- logger.info(f"Running foo from {__name__}")
20
- return "Hello from foo in test_submodule"
21
-
22
-
23
- @batch()
24
- def test_function(a, b, rundate=None):
25
- """Test function for the submodule."""
26
- logger.info(f"Running test_function from test_submodule, {__name__}")
27
- logger.info(f"Arguments: a={a}, b={b}, rundate={rundate}")
28
-
29
- return f"args: ({a}, {b}, {rundate}), kwargs: {{}}"
30
-
31
-
32
- @batch()
33
- def another_test_function(x, y, z=None, rundate=None):
34
- """Another test function for the submodule."""
35
- logger.info(f"Running another_test_function from test_submodule, {__name__}")
36
- logger.info(f"Arguments: x={x}, y={y}, z={z}, rundate={rundate}")
37
-
38
- return f"args: ({x}, {y}, {z}), kwargs: {{}}"