GuglielmoTor commited on
Commit
5c6e13d
·
verified ·
1 Parent(s): 528efb0

Create __init__.py

Browse files
Files changed (1) hide show
  1. insight_and_tasks/utils/__init__.py +32 -0
insight_and_tasks/utils/__init__.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # utils/__init__.py
2
+
3
+ # This file makes the 'utils' directory a Python package.
4
+ # You can choose to expose certain classes or functions directly at the package level
5
+ # for easier importing, if desired.
6
+
7
+ # For example:
8
+ # from .retry_mechanism import RetryMechanism
9
+ # from .pandasai_setup import configure_pandasai
10
+ # from .data_fetching import fetch_linkedin_data_from_bubble
11
+ # from .logging_config import setup_logging
12
+
13
+ # Or, you can let users import them directly from the modules:
14
+ # from utils.retry_mechanism import RetryMechanism
15
+
16
+ # For now, keeping it simple and allowing module-level imports.
17
+ # setup_logging() # Optionally call setup_logging() when the utils package is imported.
18
+ # However, it's often better to call this explicitly at the application entry point.
19
+
20
+ __all__ = [
21
+ "RetryMechanism",
22
+ "configure_pandasai",
23
+ "fetch_linkedin_data_from_bubble",
24
+ "setup_logging"
25
+ ]
26
+
27
+ # Import them here to make them available when 'from utils import *' is used,
28
+ # or for direct access like 'utils.RetryMechanism'.
29
+ from .retry_mechanism import RetryMechanism
30
+ from .pandasai_setup import configure_pandasai
31
+ from .data_fetching import fetch_linkedin_data_from_bubble, VALID_DATA_TYPES
32
+ from .logging_config import setup_logging