Document替换为Page
This commit is contained in:
parent
e5c5d919d3
commit
0716acf714
@ -10,7 +10,7 @@ import jingrow
|
||||
from jingrow.client import set_value as _set_value
|
||||
from jingrow.handler import run_pg_method as _run_pg_method
|
||||
from jingrow.model import child_table_fields, default_fields
|
||||
from jingrow.model.base_document import get_controller
|
||||
from jingrow.model.base_page import get_controller
|
||||
from jingrow.utils import cstr
|
||||
from pypika.queries import QueryBuilder
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class ReferralBonus(Document):
|
||||
class ReferralBonus(Page):
|
||||
@jingrow.whitelist()
|
||||
def allocate_credits(self):
|
||||
# Credits have already been allocated
|
||||
|
||||
@ -16,7 +16,7 @@ from ansible.parsing.dataloader import DataLoader
|
||||
from ansible.playbook.play import Play
|
||||
from ansible.plugins.callback import CallbackBase
|
||||
from ansible.vars.manager import VariableManager
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.utils import reconnect_on_failure
|
||||
|
||||
@ -32,7 +32,7 @@ SERVER_TYPES = [
|
||||
]
|
||||
|
||||
|
||||
class SSHAccessAudit(Document):
|
||||
class SSHAccessAudit(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
# import jingrow
|
||||
from __future__ import annotations
|
||||
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class SSHAccessAuditHost(Document):
|
||||
class SSHAccessAuditHost(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
# import jingrow
|
||||
from __future__ import annotations
|
||||
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class SSHAccessAuditViolation(Document):
|
||||
class SSHAccessAuditViolation(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ from enum import Enum
|
||||
import botocore
|
||||
import jingrow
|
||||
from jingrow.core.utils import find, find_all
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.jcloud.pagetype.ansible_console.ansible_console import AnsibleAdHoc
|
||||
|
||||
SUPPORTED_FILESYSTEMS = ["ext4"]
|
||||
|
||||
|
||||
class VirtualDiskResize(Document):
|
||||
class VirtualDiskResize(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ from typing import TYPE_CHECKING
|
||||
|
||||
import jingrow
|
||||
from jingrow.core.utils import find
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.jcloud.pagetype.ansible_console.ansible_console import AnsibleAdHoc
|
||||
|
||||
@ -24,7 +24,7 @@ if TYPE_CHECKING:
|
||||
StepStatus = Enum("StepStatus", ["Pending", "Running", "Success", "Failure"])
|
||||
|
||||
|
||||
class VirtualMachineMigration(Document):
|
||||
class VirtualMachineMigration(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
# import jingrow
|
||||
from __future__ import annotations
|
||||
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class VirtualMachineMigrationBindMount(Document):
|
||||
class VirtualMachineMigrationBindMount(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
# import jingrow
|
||||
from __future__ import annotations
|
||||
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class VirtualMachineMigrationMount(Document):
|
||||
class VirtualMachineMigrationMount(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
# import jingrow
|
||||
from __future__ import annotations
|
||||
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class VirtualMachineMigrationStep(Document):
|
||||
class VirtualMachineMigrationStep(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class VirtualMachineMigrationVolume(Document):
|
||||
class VirtualMachineMigrationVolume(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ from enum import Enum
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from jcloud.infrastructure.pagetype.virtual_machine_migration_step.virtual_machine_migration_step import (
|
||||
@ -19,7 +19,7 @@ if TYPE_CHECKING:
|
||||
StepStatus = Enum("StepStatus", ["Pending", "Running", "Success", "Failure"])
|
||||
|
||||
|
||||
class VirtualMachineReplacement(Document):
|
||||
class VirtualMachineReplacement(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ from __future__ import annotations
|
||||
import json
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils import get_url, random_string
|
||||
|
||||
from jcloud.utils import get_country_info, is_valid_email_address
|
||||
@ -14,7 +14,7 @@ from jcloud.utils.otp import generate_otp
|
||||
from jcloud.utils.telemetry import capture
|
||||
|
||||
|
||||
class AccountRequest(Document):
|
||||
class AccountRequest(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AccountRequestJcloudRole(Document):
|
||||
class AccountRequestJcloudRole(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AddOnSettings(Document):
|
||||
class AddOnSettings(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ import traceback
|
||||
|
||||
import jingrow
|
||||
from jingrow.core.utils import find
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.monitor import add_data_to_monitor
|
||||
from jingrow.utils import (
|
||||
add_days,
|
||||
@ -36,7 +36,7 @@ from jcloud.utils import has_role, log_error, timer
|
||||
AGENT_LOG_KEY = "agent-jobs"
|
||||
|
||||
|
||||
class AgentJob(Document):
|
||||
class AgentJob(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AgentJobStep(Document):
|
||||
class AgentJobStep(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -3,12 +3,12 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.utils import ttl_cache
|
||||
|
||||
|
||||
class AgentJobType(Document):
|
||||
class AgentJobType(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AgentJobTypeStep(Document):
|
||||
class AgentJobTypeStep(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -3,13 +3,13 @@
|
||||
|
||||
import jingrow
|
||||
import requests
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.agent import Agent
|
||||
from jcloud.utils import log_error
|
||||
|
||||
|
||||
class AgentRequestFailure(Document):
|
||||
class AgentRequestFailure(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ from typing import TYPE_CHECKING
|
||||
|
||||
import jingrow
|
||||
from jingrow.core.utils import find
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils import get_url_to_form
|
||||
from jingrow.utils.background_jobs import enqueue_pg
|
||||
from jingrow.utils.data import add_to_date
|
||||
@ -43,7 +43,7 @@ Labels:
|
||||
"""
|
||||
|
||||
|
||||
class AlertmanagerWebhookLog(Document):
|
||||
class AlertmanagerWebhookLog(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AlertmanagerWebhookLogReactionJob(Document):
|
||||
class AlertmanagerWebhookLogReactionJob(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AlipayPaymentRecord(Document):
|
||||
class AlipayPaymentRecord(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -13,13 +13,13 @@ from ansible.parsing.dataloader import DataLoader
|
||||
from ansible.playbook.play import Play
|
||||
from ansible.plugins.callback import CallbackBase
|
||||
from ansible.vars.manager import VariableManager
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils import get_timedelta
|
||||
|
||||
from jcloud.utils import reconnect_on_failure
|
||||
|
||||
|
||||
class AnsibleConsole(Document):
|
||||
class AnsibleConsole(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AnsibleConsoleLog(Document):
|
||||
class AnsibleConsoleLog(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AnsibleConsoleOutput(Document):
|
||||
class AnsibleConsoleOutput(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,14 +4,14 @@
|
||||
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils import cstr
|
||||
|
||||
from jcloud.api.client import is_owned_by_team
|
||||
from jcloud.utils import poly_get_pagetype
|
||||
|
||||
|
||||
class AnsiblePlay(Document):
|
||||
class AnsiblePlay(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AnsibleTask(Document):
|
||||
class AnsibleTask(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -7,14 +7,14 @@ import typing
|
||||
|
||||
import rq
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jcloud.utils.jobs import has_job_timeout_exceeded
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.app_source.app_source import AppSource
|
||||
|
||||
|
||||
class App(Document):
|
||||
class App(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
from __future__ import annotations
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AppGroup(Document):
|
||||
class AppGroup(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ from typing import Optional, TypedDict
|
||||
|
||||
import jingrow
|
||||
import requests
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.agent import Agent
|
||||
from jcloud.api.client import dashboard_whitelist
|
||||
@ -38,7 +38,7 @@ if typing.TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.agent_job.agent_job import AgentJob
|
||||
|
||||
|
||||
class AppPatch(Document):
|
||||
class AppPatch(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ from datetime import datetime
|
||||
from typing import Optional, TypedDict
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.api.github import get_access_token
|
||||
from jcloud.jcloud.pagetype.app_source.app_source import AppSource
|
||||
@ -31,7 +31,7 @@ class AppReleasePair(TypedDict):
|
||||
new: AppReleaseDict
|
||||
|
||||
|
||||
class AppRelease(Document):
|
||||
class AppRelease(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ import json
|
||||
import re
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.model.naming import make_autoname
|
||||
from pygments import highlight
|
||||
from pygments.formatters import HtmlFormatter as HF
|
||||
@ -15,7 +15,7 @@ from pygments.lexers import PythonLexer as PL
|
||||
from jcloud.jcloud.pagetype.app_release.app_release import AppRelease
|
||||
|
||||
|
||||
class AppReleaseApprovalRequest(Document):
|
||||
class AppReleaseApprovalRequest(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -7,13 +7,13 @@ import json
|
||||
import re
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from github import Github
|
||||
|
||||
from jcloud.api.github import get_access_token
|
||||
|
||||
|
||||
class AppReleaseDifference(Document):
|
||||
class AppReleaseDifference(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AppRename(Document):
|
||||
class AppRename(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ from typing import TYPE_CHECKING, List, Optional
|
||||
|
||||
import jingrow
|
||||
import requests
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.model.naming import make_autoname
|
||||
from jcloud.api.github import get_access_token, get_auth_headers
|
||||
from jcloud.overrides import get_permission_query_conditions_for_pagetype
|
||||
@ -17,7 +17,7 @@ if TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.app_release.app_release import AppRelease
|
||||
|
||||
|
||||
class AppSource(Document):
|
||||
class AppSource(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AppSourceVersion(Document):
|
||||
class AppSourceVersion(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class AppTag(Document):
|
||||
class AppTag(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -3,12 +3,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.jcloud.pagetype.telegram_message.telegram_message import TelegramMessage
|
||||
|
||||
|
||||
class AuditLog(Document):
|
||||
class AuditLog(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
import boto3
|
||||
import jingrow
|
||||
import jingrow.utils
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils import cint, flt
|
||||
|
||||
from jcloud.jcloud.pagetype.telegram_message.telegram_message import TelegramMessage
|
||||
@ -14,7 +14,7 @@ from jcloud.utils import log_error
|
||||
AWS_HOURS_IN_A_MONTH = 730
|
||||
|
||||
|
||||
class AWSSavingsPlanRecommendation(Document):
|
||||
class AWSSavingsPlanRecommendation(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BackupBucket(Document):
|
||||
class BackupBucket(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.api.site import _new
|
||||
from jcloud.jcloud.pagetype.site.site import prepare_site
|
||||
|
||||
|
||||
class BackupRestorationTest(Document):
|
||||
class BackupRestorationTest(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -3,12 +3,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.overrides import get_permission_query_conditions_for_pagetype
|
||||
|
||||
|
||||
class BalanceTransaction(Document):
|
||||
class BalanceTransaction(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BalanceTransactionAllocation(Document):
|
||||
class BalanceTransactionAllocation(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ from typing import TYPE_CHECKING, Generator, Iterable, Literal
|
||||
import jingrow
|
||||
import pytz
|
||||
from jingrow.exceptions import DoesNotExistError
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.model.naming import append_number_if_name_exists, make_autoname
|
||||
from jingrow.utils import get_system_timezone
|
||||
|
||||
@ -51,7 +51,7 @@ if TYPE_CHECKING:
|
||||
]
|
||||
|
||||
|
||||
class Bench(Document):
|
||||
class Bench(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BenchApp(Document):
|
||||
class BenchApp(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BenchDependency(Document):
|
||||
class BenchDependency(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BenchDependencyVersion(Document):
|
||||
class BenchDependencyVersion(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,13 +4,13 @@
|
||||
from datetime import datetime
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.jcloud.pagetype.deploy_candidate.cache_utils import run_command_in_docker_cache
|
||||
from jcloud.utils import ttl_cache
|
||||
|
||||
|
||||
class BenchGetAppCache(Document):
|
||||
class BenchGetAppCache(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
@ -34,7 +34,7 @@ class BenchGetAppCache(Document):
|
||||
|
||||
def load_from_db(self):
|
||||
db = {v.name: v for v in BenchGetAppCache.get_data()}
|
||||
return super(Document, self).__init__(db[self.name])
|
||||
return super(Page, self).__init__(db[self.name])
|
||||
|
||||
def delete(self):
|
||||
run_command_in_docker_cache(f"rm bench/apps/{self.file_name}")
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BenchMount(Document):
|
||||
class BenchMount(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -5,13 +5,13 @@ import json
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.bench.bench import Bench
|
||||
|
||||
|
||||
class BenchShell(Document):
|
||||
class BenchShell(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ from datetime import datetime
|
||||
from typing import Optional, TypedDict
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
ExecuteResult = TypedDict(
|
||||
"ExecuteResult",
|
||||
@ -23,7 +23,7 @@ ExecuteResult = TypedDict(
|
||||
)
|
||||
|
||||
|
||||
class BenchShellLog(Document):
|
||||
class BenchShellLog(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BenchSiteUpdate(Document):
|
||||
class BenchSiteUpdate(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ from __future__ import annotations
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.utils import get_current_team
|
||||
|
||||
@ -14,7 +14,7 @@ if TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.bench.bench import Bench
|
||||
|
||||
|
||||
class BenchUpdate(Document):
|
||||
class BenchUpdate(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BenchUpdateApp(Document):
|
||||
class BenchUpdateApp(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BenchVariable(Document):
|
||||
class BenchVariable(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class BlockedDomain(Document):
|
||||
class BlockedDomain(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,12 +4,12 @@
|
||||
import json
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.agent import Agent
|
||||
|
||||
|
||||
class BuildCacheShell(Document):
|
||||
class BuildCacheShell(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -13,12 +13,12 @@ from pathlib import Path
|
||||
|
||||
import jingrow
|
||||
import OpenSSL
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.utils import developer_mode_only
|
||||
|
||||
|
||||
class CertificateAuthority(Document):
|
||||
class CertificateAuthority(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class ChildTeamMember(Document):
|
||||
class ChildTeamMember(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class CloudRegion(Document):
|
||||
class CloudRegion(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ from typing import ClassVar, Generator
|
||||
|
||||
import boto3
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from hcloud import APIException, Client
|
||||
from hcloud.networks.domain import NetworkSubnet
|
||||
from oci.config import validate_config
|
||||
@ -43,7 +43,7 @@ if typing.TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.virtual_machine.virtual_machine import VirtualMachine
|
||||
|
||||
|
||||
class Cluster(Document):
|
||||
class Cluster(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.model.naming import append_number_if_name_exists
|
||||
|
||||
from jcloud.agent import Agent
|
||||
@ -10,7 +10,7 @@ from jcloud.utils import log_error
|
||||
from jcloud.utils.dns import _change_dns_record, create_dns_record
|
||||
|
||||
|
||||
class CodeServer(Document):
|
||||
class CodeServer(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class CommunicationEmail(Document):
|
||||
class CommunicationEmail(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class CookiePreferenceLog(Document):
|
||||
class CookiePreferenceLog(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class CurrencyExchange(Document):
|
||||
class CurrencyExchange(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DashboardBanner(Document):
|
||||
class DashboardBanner(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,13 +4,13 @@
|
||||
from typing import Any
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.runner import Ansible
|
||||
from jcloud.utils import log_error
|
||||
|
||||
|
||||
class DatabaseServerMariaDBVariable(Document):
|
||||
class DatabaseServerMariaDBVariable(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,14 +4,14 @@
|
||||
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.model.naming import append_number_if_name_exists
|
||||
|
||||
from jcloud.overrides import get_permission_query_conditions_for_pagetype
|
||||
from jcloud.utils import log_error
|
||||
|
||||
|
||||
class Deploy(Document):
|
||||
class Deploy(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DeployBench(Document):
|
||||
class DeployBench(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ from typing import Any, Literal
|
||||
import jingrow
|
||||
import jingrow.utils
|
||||
from jingrow.core.utils import find
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.model.naming import make_autoname
|
||||
from jingrow.utils import now_datetime as now
|
||||
from jingrow.utils import rounded
|
||||
@ -64,7 +64,7 @@ if typing.TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.release_group.release_group import ReleaseGroup
|
||||
|
||||
|
||||
class DeployCandidate(Document):
|
||||
class DeployCandidate(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ Details = TypedDict(
|
||||
MatchStrings = str | list[str]
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from jingrow import Document
|
||||
from jingrow import Page
|
||||
|
||||
from jcloud.jcloud.pagetype.deploy_candidate.deploy_candidate import DeployCandidate
|
||||
from jcloud.jcloud.pagetype.deploy_candidate_app.deploy_candidate_app import (
|
||||
@ -1019,7 +1019,7 @@ def get_ct_row(
|
||||
match_value: str,
|
||||
field: str,
|
||||
ct_field: str,
|
||||
) -> Optional["Document"]:
|
||||
) -> Optional["Page"]:
|
||||
ct = dc.get(field)
|
||||
if not ct:
|
||||
return
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DeployCandidateApp(Document):
|
||||
class DeployCandidateApp(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DeployCandidateBuildStep(Document):
|
||||
class DeployCandidateBuildStep(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DeployCandidateDependency(Document):
|
||||
class DeployCandidateDependency(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -5,12 +5,12 @@
|
||||
|
||||
import jingrow
|
||||
from jingrow.core.utils import find
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
from jcloud.overrides import get_permission_query_conditions_for_pagetype
|
||||
|
||||
|
||||
class DeployCandidateDifference(Document):
|
||||
class DeployCandidateDifference(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DeployCandidateDifferenceApp(Document):
|
||||
class DeployCandidateDifferenceApp(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DeployCandidatePackage(Document):
|
||||
class DeployCandidatePackage(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DeployCandidateVariable(Document):
|
||||
class DeployCandidateVariable(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DnsResolution(Document):
|
||||
class DnsResolution(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class DomainOwner(Document):
|
||||
class DomainOwner(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -9,13 +9,13 @@ import jingrow
|
||||
import rq
|
||||
import rq.exceptions
|
||||
import rq.timeouts
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils.make_random import get_random
|
||||
|
||||
from jcloud.utils import log_error
|
||||
|
||||
|
||||
class DripEmail(Document):
|
||||
class DripEmail(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class FirewallRules(Document):
|
||||
class FirewallRules(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ import json
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.query_builder import Interval
|
||||
from jingrow.query_builder.functions import Now
|
||||
|
||||
@ -19,7 +19,7 @@ if TYPE_CHECKING:
|
||||
from jcloud.jcloud.pagetype.app_source.app_source import AppSource
|
||||
|
||||
|
||||
class GitHubWebhookLog(Document):
|
||||
class GitHubWebhookLog(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class IncidentAlerts(Document):
|
||||
class IncidentAlerts(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
# import jingrow
|
||||
from __future__ import annotations
|
||||
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class IncidentSettings(Document):
|
||||
class IncidentSettings(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class IncidentSettingsSelfHostedUser(Document):
|
||||
class IncidentSettingsSelfHostedUser(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class IncidentSettingsUser(Document):
|
||||
class IncidentSettingsUser(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
# import jingrow
|
||||
from __future__ import annotations
|
||||
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class IncidentSuggestion(Document):
|
||||
class IncidentSuggestion(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class IncidentUpdates(Document):
|
||||
class IncidentUpdates(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
|
||||
import jingrow
|
||||
from jingrow import _
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils import cint, flt, getdate
|
||||
from jingrow.utils.data import fmt_money
|
||||
|
||||
@ -20,7 +20,7 @@ from jcloud.utils.billing import (
|
||||
)
|
||||
|
||||
|
||||
class Invoice(Document):
|
||||
class Invoice(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class InvoiceCreditAllocation(Document):
|
||||
class InvoiceCreditAllocation(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class InvoiceDiscount(Document):
|
||||
class InvoiceDiscount(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class InvoiceItem(Document):
|
||||
class InvoiceItem(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class InvoiceTransactionFee(Document):
|
||||
class InvoiceTransactionFee(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
from __future__ import annotations
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class JcloudFeedback(Document):
|
||||
class JcloudFeedback(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
import json
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class JcloudJob(Document):
|
||||
class JcloudJob(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -4,11 +4,11 @@
|
||||
import json
|
||||
|
||||
import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
from jingrow.utils.safe_exec import safe_exec
|
||||
|
||||
|
||||
class JcloudJobStep(Document):
|
||||
class JcloudJobStep(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class JcloudJobType(Document):
|
||||
class JcloudJobType(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import jingrow
|
||||
from jingrow.model.document import Document
|
||||
from jingrow.model.page import Page
|
||||
|
||||
|
||||
class JcloudJobTypeStep(Document):
|
||||
class JcloudJobTypeStep(Page):
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user