MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / Section

Class Section

web/pgadmin/llm/reports/models.py:27–44  ·  view source on GitHub ↗

Definition of a report section. Attributes: id: Unique identifier for the section. name: Human-readable name for display. description: What this section analyzes. queries: List of query identifiers to run for this section. scope: What scope this section a

Source from the content-addressed store, hash-verified

25
26@dataclass
27class Section:
28 """Definition of a report section.
29
30 Attributes:
31 id: Unique identifier for the section.
32 name: Human-readable name for display.
33 description: What this section analyzes.
34 queries: List of query identifiers to run for this section.
35 scope: What scope this section applies to
36 ('server', 'database', 'schema').
37 """
38 id: str
39 name: str
40 description: str
41 queries: list[str]
42 scope: list[str] = field(
43 default_factory=lambda: ['server', 'database', 'schema']
44 )
45
46
47@dataclass

Callers 1

sections.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected