From c01010391f80eabe499ed6ac1e78f8df9ef9170b Mon Sep 17 00:00:00 2001 From: charlie4284 Date: Wed, 10 Apr 2024 15:20:38 +0800 Subject: [PATCH] test: tmate --- .github/workflows/tmate.yaml | 9 +++++++++ src-docs/state.py.md | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/tmate.yaml diff --git a/.github/workflows/tmate.yaml b/.github/workflows/tmate.yaml new file mode 100644 index 0000000..aff2f02 --- /dev/null +++ b/.github/workflows/tmate.yaml @@ -0,0 +1,9 @@ +name: CI +on: [push] +jobs: + build: + runs-on: [self-hosted, two-xlarge] + steps: + - uses: actions/checkout@v3 + - name: Setup tmate session + uses: canonical/action-tmate@main diff --git a/src-docs/state.py.md b/src-docs/state.py.md index 6d56857..7eeea3a 100644 --- a/src-docs/state.py.md +++ b/src-docs/state.py.md @@ -91,6 +91,17 @@ Configuration for accessing Jenkins through proxy. --- +#### property model_computed_fields + +Get the computed fields of this model instance. + + + +**Returns:** + A dictionary of computed field names and their corresponding `ComputedFieldInfo` objects. + +--- + #### property model_extra Get extra fields set during validation.