MCPcopy Create free account
hub / github.com/dot-agent/nextpy / get_fields

Method get_fields

nextpy/base.py:85–91  ·  view source on GitHub ↗

Get the fields of the object. Returns: The fields of the object.

(cls)

Source from the content-addressed store, hash-verified

83
84 @classmethod
85 def get_fields(cls) -> dict[str, Any]:
86 """Get the fields of the object.
87
88 Returns:
89 The fields of the object.
90 """
91 return cls.__fields__
92
93 @classmethod
94 def add_field(cls, var: Any, default_value: Any):

Callers 13

__init_subclass__Method · 0.80
__init__Method · 0.80
get_propsMethod · 0.80
get_component_propsMethod · 0.80
createMethod · 0.80
createMethod · 0.80
__init_subclass__Method · 0.80
_set_default_valueMethod · 0.80
resetMethod · 0.80
_reset_client_storageMethod · 0.80
test_get_fieldsFunction · 0.80
test_complex_get_fieldsFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_get_fieldsFunction · 0.64
test_complex_get_fieldsFunction · 0.64
test_base_class_varsFunction · 0.64