generator dandy.intel.generator IntelClassGenerator from_callable_signature classmethod Source code in dandy/intel/generator.py 15 16 17 18 19 20 21 22 23 24 25 26 27 28@classmethod def from_callable_signature( cls, callable_: Callable ) -> Type[BaseIntel]: typed_kwargs = get_typed_kwargs_from_callable_signature( callable_ ) return cls.from_typed_kwargs( f'{callable_.__name__}Intel', typed_kwargs, ) from_simple_json_schema classmethod Source code in dandy/intel/generator.py 30 31 32 33 34 35 36 37 38 39 40 41 42 43@classmethod def from_simple_json_schema( cls, simple_json_schema: dict | str, class_name: str = 'SimpleJsonSchemaIntel', ) -> Type[BaseIntel]: typed_kwargs = get_typed_kwargs_from_simple_json_schema( simple_json_schema, ) return cls.from_typed_kwargs( class_name, typed_kwargs, ) from_typed_kwargs staticmethod Source code in dandy/intel/generator.py 45 46 47 48 49 50 51 52 53 54@staticmethod def from_typed_kwargs( intel_class_name: str, typed_kwargs: TypedKwargs ) -> Type[BaseIntel]: return create_model( intel_class_name, __base__=BaseIntel, **typed_kwargs )