Skip to content

Commit

Permalink
Merge pull request #103 from robamu-org/mark-global-man-deprecated
Browse files Browse the repository at this point in the history
globals are bad
  • Loading branch information
robamu authored Sep 8, 2023
2 parents 04a2567 + 0f6f62e commit 5c73dc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
37 changes: 0 additions & 37 deletions tests/test_global_manager.py

This file was deleted.

5 changes: 5 additions & 0 deletions tmtccmd/core/globals_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
from threading import Lock
from typing import Optional
import warnings

warnings.warn(
"the globals_manager module is deprecated", DeprecationWarning, stacklevel=2
)

__GLOBALS_DICT = dict()
__LOCK_TIMEOUT = 50
Expand Down

0 comments on commit 5c73dc7

Please sign in to comment.