diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml deleted file mode 100644 index fba354e6..00000000 --- a/.github/workflows/cleanup.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: cleanup-workflows -on: - workflow_dispatch: - push: - branches: - - master - schedule: - - cron: '0 6 * * 0' - # At 6 AM every Sunday - -jobs: - coronation: - runs-on: thevickypedia-lite - permissions: - actions: write - steps: - - name: Delete workflow runs - uses: Mattraks/delete-workflow-runs@v2 - with: - token: ${{ secrets.GIT_TOKEN }} - repository: ${{ github.repository }} - retain_days: 1 - keep_minimum_runs: 3 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 603bb58c..ad523134 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -2,13 +2,28 @@ name: pypi-publish on: release: - types: [ published ] + types: + - published + push: + branches: + - master workflow_dispatch: jobs: pypi-publisher: runs-on: thevickypedia-lite steps: + - name: Set dry-run + run: | + if [[ "${{ github.event_name }}" == "push" ]]; then + echo "::notice title=DryRun::Setting dry run to true for '${{ github.event_name }}' event" + echo "dry_run=true" >> $GITHUB_ENV + else + echo "::notice title=DryRun::Setting dry run to false for '${{ github.event_name }}' event" + echo "dry_run=false" >> $GITHUB_ENV + fi - uses: thevickypedia/pypi-publisher@v3 env: token: ${{ secrets.PYPI_TOKEN }} + with: + dry-run: ${{ env.dry_run }} diff --git a/docs/genindex.html b/docs/genindex.html index 3dbff86e..e8f7b5d2 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -409,6 +409,8 @@
Construct arguments for wake word detector.
+Arguments for wake word detector constructed as a dictionary based on the system and dependency version.
+Dict[str, str | List[float] | List[str]]
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
@@ -6675,7 +6649,8 @@Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
Validate each entry in ignore hours list.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
Validates date value to be in DD-MM format.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Custom base exception for dependency errors.
+>>> DependencyError
+
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
-self is explicitly positional-only to allow self as a field name.
+__init__ uses __pydantic_self__ instead of the more common self for the first arg to +allow self as a field name.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-A dictionary of computed field names and their corresponding ComputedFieldInfo objects.