MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / is_empty

Method is_empty

codewiki/cli/models/config.py:70–78  ·  view source on GitHub ↗

Check if all fields are empty/None.

(self)

Source from the content-addressed store, hash-verified

68 if self.language:
69 result["language"] = self.language
70 return result
71
72 @classmethod
73 def from_dict(cls, data: dict) -> "AgentInstructions":
74 """Create AgentInstructions from dictionary."""
75 return cls(
76 include_patterns=data.get("include_patterns"),
77 exclude_patterns=data.get("exclude_patterns"),
78 focus_modules=data.get("focus_modules"),
79 doc_type=data.get("doc_type"),
80 custom_instructions=data.get("custom_instructions"),
81 artifact_exclude=data.get("artifact_exclude"),

Callers 5

generate_commandFunction · 0.95
config_showFunction · 0.80
config_agentFunction · 0.80
to_dictMethod · 0.80
to_backend_configMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected