mirror of
https://github.com/infinition/Bjorn.git
synced 2025-12-07 13:15:02 +00:00
First Bjorn Commit !
This commit is contained in:
13
init_shared.py
Normal file
13
init_shared.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#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()
|
||||
Reference in New Issue
Block a user