Check if all fields are empty/None.
(self)
| 68 | ) |
| 69 | |
| 70 | def is_empty(self) -> bool: |
| 71 | """Check if all fields are empty/None.""" |
| 72 | return not any([ |
| 73 | self.include_patterns, |
| 74 | self.exclude_patterns, |
| 75 | self.focus_modules, |
| 76 | self.doc_type, |
| 77 | self.custom_instructions, |
| 78 | ]) |
| 79 | |
| 80 | def get_prompt_addition(self) -> str: |
| 81 | """Generate prompt additions based on instructions.""" |
no outgoing calls
no test coverage detected