chore: rename child doctypes

This commit is contained in:
Ankush Menat 2024-04-19 15:45:35 +05:30
parent cbf4351a49
commit a94534a938
11 changed files with 28 additions and 22 deletions

View file

@ -69,7 +69,7 @@
"fieldname": "background_workers",
"fieldtype": "Table",
"label": "Background Workers",
"options": "System Health Workers"
"options": "System Health Report Workers"
},
{
"fieldname": "total_background_workers",
@ -91,7 +91,7 @@
"fieldname": "queue_status",
"fieldtype": "Table",
"label": "Queue Status",
"options": "System Health Queue"
"options": "System Health Report Queue"
},
{
"fieldname": "column_break_klex",
@ -194,7 +194,7 @@
{
"fieldname": "top_db_tables",
"fieldtype": "Table",
"options": "System Health DB Table"
"options": "System Health Report Tables"
},
{
"fieldname": "database_version",
@ -355,7 +355,7 @@
"is_virtual": 1,
"issingle": 1,
"links": [],
"modified": "2024-04-19 14:12:44.949141",
"modified": "2024-04-19 15:48:13.172247",
"modified_by": "Administrator",
"module": "Desk",
"name": "System Health Report",

View file

@ -55,14 +55,20 @@ class SystemHealthReport(Document):
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from frappe.desk.doctype.system_health_db_table.system_health_db_table import SystemHealthDBTable
from frappe.desk.doctype.system_health_queue.system_health_queue import SystemHealthQueue
from frappe.desk.doctype.system_health_workers.system_health_workers import SystemHealthWorkers
from frappe.desk.doctype.system_health_report_queue.system_health_report_queue import (
SystemHealthReportQueue,
)
from frappe.desk.doctype.system_health_report_tables.system_health_report_tables import (
SystemHealthReportTables,
)
from frappe.desk.doctype.system_health_report_workers.system_health_report_workers import (
SystemHealthReportWorkers,
)
from frappe.types import DF
active_sessions: DF.Int
background_jobs_check: DF.Data | None
background_workers: DF.Table[SystemHealthWorkers]
background_workers: DF.Table[SystemHealthReportWorkers]
backups_size: DF.Float
binary_logging: DF.Data | None
bufferpool_size: DF.Data | None
@ -80,12 +86,12 @@ class SystemHealthReport(Document):
pending_emails: DF.Int
private_files_size: DF.Float
public_files_size: DF.Float
queue_status: DF.Table[SystemHealthQueue]
queue_status: DF.Table[SystemHealthReportQueue]
scheduler_status: DF.Data | None
socketio_ping_check: DF.Literal["Fail", "Pass"]
socketio_transport_mode: DF.Literal["Polling", "Websocket"]
test_job_id: DF.Data | None
top_db_tables: DF.Table[SystemHealthDBTable]
top_db_tables: DF.Table[SystemHealthReportTables]
top_errors: DF.Code | None
total_background_workers: DF.Int
total_errors: DF.Int

View file

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2024-04-18 17:38:33.006527",
"creation": "2024-04-19 15:47:47.592170",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
@ -27,10 +27,10 @@
"is_virtual": 1,
"istable": 1,
"links": [],
"modified": "2024-04-18 17:38:59.244386",
"modified": "2024-04-19 15:47:47.592170",
"modified_by": "Administrator",
"module": "Desk",
"name": "System Health Queue",
"name": "System Health Report Queue",
"owner": "Administrator",
"permissions": [],
"sort_field": "creation",

View file

@ -5,7 +5,7 @@
from frappe.model.document import Document
class SystemHealthQueue(Document):
class SystemHealthReportQueue(Document):
# begin: auto-generated types
# This code is auto-generated. Do not modify anything in this block.

View file

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2024-04-18 19:28:04.020604",
"creation": "2024-04-19 15:46:57.993123",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
@ -27,10 +27,10 @@
"is_virtual": 1,
"istable": 1,
"links": [],
"modified": "2024-04-18 19:28:52.122825",
"modified": "2024-04-19 15:46:57.993123",
"modified_by": "Administrator",
"module": "Desk",
"name": "System Health DB Table",
"name": "System Health Report Tables",
"owner": "Administrator",
"permissions": [],
"sort_field": "creation",

View file

@ -5,7 +5,7 @@
from frappe.model.document import Document
class SystemHealthDBTable(Document):
class SystemHealthReportTables(Document):
# begin: auto-generated types
# This code is auto-generated. Do not modify anything in this block.

View file

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2024-04-18 16:53:38.962458",
"creation": "2024-04-19 15:44:52.298443",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
@ -40,10 +40,10 @@
"is_virtual": 1,
"istable": 1,
"links": [],
"modified": "2024-04-18 17:24:43.721205",
"modified": "2024-04-19 15:44:52.298443",
"modified_by": "Administrator",
"module": "Desk",
"name": "System Health Workers",
"name": "System Health Report Workers",
"owner": "Administrator",
"permissions": [],
"sort_field": "creation",

View file

@ -5,7 +5,7 @@
from frappe.model.document import Document
class SystemHealthWorkers(Document):
class SystemHealthReportWorkers(Document):
# begin: auto-generated types
# This code is auto-generated. Do not modify anything in this block.