Skip to content

fontlabapp.core.utils.collections.attribdict · declarations 001

Back to fontlabapp.core.utils.collections.attribdict

__delattr__

__delattr__(name: Any) -> Any

__getattribute__

__getattribute__(name: Any) -> Any

__hash__

__hash__() -> Any

__init__

__init__(*args: Any, **kwdargs: Any) -> None

__repr__

__repr__() -> Any

__setattr__

__setattr__(name: Any, value: Any) -> Any

as_dict

as_dict() -> Any

contains

contains(search: Any, search_type: Any = None) -> Any

Does the object contain ANY value or nested object with given name (search)

Attributes: search (Str): Search string search_type (type) : Value type

Returns: Bool

dir

dir() -> Any

extract

extract(search: Any) -> Any

Pull all values of specified key (search)

Attributes: search (Str): Search string

Returns: generator

factory

factory(factory_type: Any) -> Any

find

find(search: Any, search_type: Any = None) -> Any

Pull all objects that contain keys of specified search.

Attributes: search (Str): Search string search_type (type) : Value type Returns: generator

lock

lock() -> Any

to_dict

to_dict(attrib_dict: Any) -> Any

where

where(search_value: Any, search_key: Any = None) -> Any

Pull all objects that contain values of specified search.

Attributes: search_value (Str): Search value search_key (Str) : Search for specific key that contains above value Returns: generator