Skip to content

sbr.container.optim

Functions:

merge_between_suffix

merge_between_suffix(domain_suffix: set[str]) -> set[str]

merge_domain_with_keyword

merge_domain_with_keyword(
    domain: set[str], domain_keyword: set[str]
) -> tuple[set[str], set[str]]

merge_domain_with_suffix

merge_domain_with_suffix(
    domain: set[str], domain_suffix: set[str]
) -> tuple[set[str], set[str]]

merge_ip_cidr

merge_ip_cidr(ip_cidr: set[str]) -> set[str]

merge_suffix_with_keyword

merge_suffix_with_keyword(
    domain_suffix: set[str], domain_keyword: set[str]
) -> tuple[set[str], set[str]]

remove_unresolvable

remove_unresolvable(domain: set[str]) -> set[str]