14 lines
226 B
Python
14 lines
226 B
Python
import logging
|
|
from typing import TypeVar
|
|
|
|
logger = logging.getLogger("desktopenv.getters.misc")
|
|
|
|
R = TypeVar("Rule")
|
|
|
|
|
|
def get_rule(env, config: R) -> R:
|
|
"""
|
|
Returns the rule as-is.
|
|
"""
|
|
return config["rules"]
|