spells-mtg 0.9.7__tar.gz → 0.9.8__tar.gz

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 spells-mtg might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spells-mtg
3
- Version: 0.9.7
3
+ Version: 0.9.8
4
4
  Summary: analaysis of 17Lands.com public datasets
5
5
  Author-Email: Joel Barnes <oelarnes@gmail.com>
6
6
  License: MIT
@@ -11,7 +11,7 @@ dependencies = [
11
11
  ]
12
12
  requires-python = ">=3.11"
13
13
  readme = "README.md"
14
- version = "0.9.7"
14
+ version = "0.9.8"
15
15
 
16
16
  [project.license]
17
17
  text = "MIT"
@@ -11,6 +11,7 @@ all_sets = [
11
11
  "WOE",
12
12
  "LTR",
13
13
  "MOM",
14
+ "SIR",
14
15
  "ONE",
15
16
  "BRO",
16
17
  "DMU",
@@ -63,10 +63,12 @@ def console_logging(log_level):
63
63
  logger.removeHandler(console_handler)
64
64
 
65
65
 
66
- def make_verbose(level: int = logging.ERROR) -> Callable:
66
+ def make_verbose(level: int | None = None) -> Callable:
67
67
  def decorator(func: Callable) -> Callable:
68
68
  @wraps(func)
69
- def wrapped(*args, log_to_console: int = level, **kwargs):
69
+ def wrapped(*args, log_to_console: int | None = level, **kwargs):
70
+ if log_to_console is None:
71
+ return func(*args, **kwargs)
70
72
  with console_logging(log_to_console):
71
73
  return func(*args, **kwargs)
72
74
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes