General Package Utility Functions#
Utility functions useful for various package things like getting the signature matching
- boa.utils.get_dictionary_matching_signature(signature: Signature, d: dict, match_private: bool = False, exclude_fields: Optional[list[str]] = None, accept_all_kwargs: bool = True) dict[source]#
- boa.utils.serialize_init_args(class_, *, parents: Optional[list[Type]] = None, match_private: bool = False, **kwargs)[source]#
Given an object, return a dictionary of the arguments that are needed by its constructor.