API Reference#
- law.task
- law.target
- law.workflow
- law.sandbox
- law.job
- law.cli
- law.config
Config
Config._instance
Config._default_config
Config._config_files
Config.Deferred
Config.instance()
Config.options()
Config.keys()
Config.items()
Config.set()
Config.update()
Config.include()
Config.get_default()
Config.get_expanded()
Config.get_expanded_int()
Config.get_expanded_float()
Config.get_expanded_bool()
Config.get_expanded_boolean()
Config.is_missing_or_none()
Config.find_option()
Config.sync_env()
Config.sync_luigi_config()
Config.resolve_deferred_defaults()
sections()
options()
keys()
items()
update()
include()
get()
getint()
getfloat()
getboolean()
get_default()
get_expanded()
get_expanded_int()
get_expanded_float()
get_expanded_bool()
get_expanded_boolean()
is_missing_or_none()
find_option()
add_section()
has_section()
remove_section()
set()
has_option()
remove_option()
- law.decorator
- law.parameter
- law.notification
- law.logger
- law.parser
- law.patches
- law.util
no_value
rel_path()
law_src_path()
law_home_path()
law_run()
print_err()
abort()
import_file()
get_terminal_width()
is_classmethod()
is_number()
is_float()
try_int()
round_discrete()
str_to_int()
flag_to_bool()
empty_context()
common_task_params()
colored()
uncolored()
query_choice()
is_pattern()
brace_expand()
range_expand()
range_join()
multi_match()
is_iterable()
is_lazy_iterable()
make_list()
make_tuple()
make_set()
make_unique()
is_nested()
flatten()
merge_dicts()
unzip()
which()
map_verbose()
map_struct()
mask_struct()
tmp_file()
perf_counter()
interruptable_popen()
readable_popen()
create_hash()
create_random_string()
copy_no_perm()
makedirs()
user_owns_file()
iter_chunks()
human_bytes()
parse_bytes()
human_duration()
parse_duration()
is_file_exists_error()
send_mail()
DotDict
ShorthandDict
open_compat()
patch_object()
join_generators()
quote_cmd()
escape_markdown()
classproperty()
TeeStream
FilteredStream