mirror of
https://github.com/infinition/Bjorn.git
synced 2024-11-11 22:38:39 +03:00
14 lines
620 B
Python
14 lines
620 B
Python
#init_shared.py
|
|
# Description:
|
|
# This file, init_shared.py, is responsible for initializing and providing access to shared data across different modules in the Bjorn project.
|
|
#
|
|
# Key functionalities include:
|
|
# - Importing the `SharedData` class from the `shared` module.
|
|
# - Creating an instance of `SharedData` named `shared_data` that holds common configuration, paths, and other resources.
|
|
# - Ensuring that all modules importing `shared_data` will have access to the same instance, promoting consistency and ease of data management throughout the project.
|
|
|
|
|
|
from shared import SharedData
|
|
|
|
shared_data = SharedData()
|