diff --git a/.gitattributes b/.gitattributes index bcb073f36b7e7bd59a2e396bc8de6e26ef6568a6..aca8a965f45cc889585bd72f6829995bb790372d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3506,3 +3506,4 @@ platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/themes/readthedoc platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/themes/readthedocs/css/fonts/lato-normal-italic.woff2 filter=lfs diff=lfs merge=lfs -text platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/themes/readthedocs/css/fonts/lato-normal.woff filter=lfs diff=lfs merge=lfs -text platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/themes/readthedocs/css/fonts/lato-normal.woff2 filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_validators.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/licenses/COPYING b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/licenses/COPYING new file mode 100644 index 0000000000000000000000000000000000000000..af9cfbdb134f42e5205ecbad597421d778826481 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/licenses/COPYING @@ -0,0 +1,19 @@ +Copyright (c) 2013 Julian Berman + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9d870036d3bb1aedadc2442468d5fbd677ad46a8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/__main__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fae74139159bea0b67af41c70c99b9923dcb3599 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/__main__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_format.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_format.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..925b5cd2769b94b4feaca4e87a29ccf603f78471 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_format.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_keywords.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_keywords.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7f2cd117296a1ae4f0b47b7ba44c86eb3647c95d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_keywords.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_legacy_keywords.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_legacy_keywords.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..80b6fa26551a63a2a38c6079f623299fe4fa6acb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_legacy_keywords.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_types.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_types.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e91febb20201e71cf9de7987915ff9143bfb9a40 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_types.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_typing.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_typing.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..904b2f8fb5a1a89ab401b7cbfa5d7a186190f6a6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_typing.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c3605428bfe94d95fd92f40b305563fe76b42718 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/_utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/cli.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/cli.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4cc1213993b3b9ceab3b79d81363af086783eb32 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/cli.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/exceptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/exceptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a699e936922105a094ba273a988b681fedd2d842 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/exceptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/protocols.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/protocols.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..514e123daef5858891a93d952318bcd916b87254 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/protocols.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/validators.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/validators.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..57a768d805984bbed3cfa9fd49ed27d6e80ecb20 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__pycache__/validators.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e3dcc689930da95198c251ce806637d6413c8b1e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__init__.py @@ -0,0 +1,5 @@ +""" +Benchmarks for validation. + +This package is *not* public API. +""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2fae0685f71d875ab700e3b477e71634c924cb27 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/issue232.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/issue232.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e86fc4a5b837bd7de31f07fad1c2a13e72d3f726 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/issue232.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/json_schema_test_suite.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/json_schema_test_suite.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..00b61cb2c3da0bbc476112e7a0379eaa09a5ab44 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/json_schema_test_suite.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/nested_schemas.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/nested_schemas.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..65f2ab32d664a37402cb40c2453249c37fb02b53 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/nested_schemas.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/subcomponents.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/subcomponents.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9c278fb63eabf8aabfa407516822d75439b4f5f2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/subcomponents.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/unused_registry.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/unused_registry.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..609502bf284b583ce0f8d8a32976fa244d93f187 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/unused_registry.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/validator_creation.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/validator_creation.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3cb607204fc95c5185f860c817ca527f4a385712 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/validator_creation.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/issue232.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/issue232.py new file mode 100644 index 0000000000000000000000000000000000000000..efd07154822e4b0609900482eb26636fc3c100eb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/issue232.py @@ -0,0 +1,25 @@ +""" +A performance benchmark using the example from issue #232. + +See https://github.com/python-jsonschema/jsonschema/pull/232. +""" +from pathlib import Path + +from pyperf import Runner +from referencing import Registry + +from jsonschema.tests._suite import Version +import jsonschema + +issue232 = Version( + path=Path(__file__).parent / "issue232", + remotes=Registry(), + name="issue232", +) + + +if __name__ == "__main__": + issue232.benchmark( + runner=Runner(), + Validator=jsonschema.Draft4Validator, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/issue232/issue.json b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/issue232/issue.json new file mode 100644 index 0000000000000000000000000000000000000000..804c340845fa0694e8db1083cfe7c290c04f36b1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/issue232/issue.json @@ -0,0 +1,2653 @@ +[ + { + "description": "Petstore", + "schema": { + "title": "A JSON Schema for Swagger 2.0 API.", + "id": "http://swagger.io/v2/schema.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "required": [ + "swagger", + "info", + "paths" + ], + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "swagger": { + "type": "string", + "enum": [ + "2.0" + ], + "description": "The Swagger version of this document." + }, + "info": { + "$ref": "#/definitions/info" + }, + "host": { + "type": "string", + "pattern": "^[^{}/ :\\\\]+(?::\\d+)?$", + "description": "The host (name or ip) of the API. Example: 'swagger.io'" + }, + "basePath": { + "type": "string", + "pattern": "^/", + "description": "The base path to the API. Example: '/api'." + }, + "schemes": { + "$ref": "#/definitions/schemesList" + }, + "consumes": { + "description": "A list of MIME types accepted by the API.", + "allOf": [ + { + "$ref": "#/definitions/mediaTypeList" + } + ] + }, + "produces": { + "description": "A list of MIME types the API can produce.", + "allOf": [ + { + "$ref": "#/definitions/mediaTypeList" + } + ] + }, + "paths": { + "$ref": "#/definitions/paths" + }, + "definitions": { + "$ref": "#/definitions/definitions" + }, + "parameters": { + "$ref": "#/definitions/parameterDefinitions" + }, + "responses": { + "$ref": "#/definitions/responseDefinitions" + }, + "security": { + "$ref": "#/definitions/security" + }, + "securityDefinitions": { + "$ref": "#/definitions/securityDefinitions" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/tag" + }, + "uniqueItems": true + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + } + }, + "definitions": { + "info": { + "type": "object", + "description": "General information about the API.", + "required": [ + "version", + "title" + ], + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "title": { + "type": "string", + "description": "A unique and precise title of the API." + }, + "version": { + "type": "string", + "description": "A semantic version number of the API." + }, + "description": { + "type": "string", + "description": "A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed." + }, + "termsOfService": { + "type": "string", + "description": "The terms of service for the API." + }, + "contact": { + "$ref": "#/definitions/contact" + }, + "license": { + "$ref": "#/definitions/license" + } + } + }, + "contact": { + "type": "object", + "description": "Contact information for the owners of the API.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The identifying name of the contact person/organization." + }, + "url": { + "type": "string", + "description": "The URL pointing to the contact information.", + "format": "uri" + }, + "email": { + "type": "string", + "description": "The email address of the contact person/organization.", + "format": "email" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "license": { + "type": "object", + "required": [ + "name" + ], + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the license type. It's encouraged to use an OSI compatible license." + }, + "url": { + "type": "string", + "description": "The URL pointing to the license.", + "format": "uri" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "paths": { + "type": "object", + "description": "Relative paths to the individual endpoints. They must be relative to the 'basePath'.", + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + }, + "^/": { + "$ref": "#/definitions/pathItem" + } + }, + "additionalProperties": false + }, + "definitions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/schema" + }, + "description": "One or more JSON objects describing the schemas being consumed and produced by the API." + }, + "parameterDefinitions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/parameter" + }, + "description": "One or more JSON representations for parameters" + }, + "responseDefinitions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/response" + }, + "description": "One or more JSON representations for parameters" + }, + "externalDocs": { + "type": "object", + "additionalProperties": false, + "description": "information about external documentation", + "required": [ + "url" + ], + "properties": { + "description": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "examples": { + "type": "object", + "additionalProperties": true + }, + "mimeType": { + "type": "string", + "description": "The MIME type of the HTTP message." + }, + "operation": { + "type": "object", + "required": [ + "responses" + ], + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "summary": { + "type": "string", + "description": "A brief summary of the operation." + }, + "description": { + "type": "string", + "description": "A longer description of the operation, GitHub Flavored Markdown is allowed." + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "operationId": { + "type": "string", + "description": "A unique identifier of the operation." + }, + "produces": { + "description": "A list of MIME types the API can produce.", + "allOf": [ + { + "$ref": "#/definitions/mediaTypeList" + } + ] + }, + "consumes": { + "description": "A list of MIME types the API can consume.", + "allOf": [ + { + "$ref": "#/definitions/mediaTypeList" + } + ] + }, + "parameters": { + "$ref": "#/definitions/parametersList" + }, + "responses": { + "$ref": "#/definitions/responses" + }, + "schemes": { + "$ref": "#/definitions/schemesList" + }, + "deprecated": { + "type": "boolean", + "default": false + }, + "security": { + "$ref": "#/definitions/security" + } + } + }, + "pathItem": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "$ref": { + "type": "string" + }, + "get": { + "$ref": "#/definitions/operation" + }, + "put": { + "$ref": "#/definitions/operation" + }, + "post": { + "$ref": "#/definitions/operation" + }, + "delete": { + "$ref": "#/definitions/operation" + }, + "options": { + "$ref": "#/definitions/operation" + }, + "head": { + "$ref": "#/definitions/operation" + }, + "patch": { + "$ref": "#/definitions/operation" + }, + "parameters": { + "$ref": "#/definitions/parametersList" + } + } + }, + "responses": { + "type": "object", + "description": "Response objects names can either be any valid HTTP status code or 'default'.", + "minProperties": 1, + "additionalProperties": false, + "patternProperties": { + "^([0-9]{3})$|^(default)$": { + "$ref": "#/definitions/responseValue" + }, + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "not": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + } + }, + "responseValue": { + "oneOf": [ + { + "$ref": "#/definitions/response" + }, + { + "$ref": "#/definitions/jsonReference" + } + ] + }, + "response": { + "type": "object", + "required": [ + "description" + ], + "properties": { + "description": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "$ref": "#/definitions/schema" + }, + { + "$ref": "#/definitions/fileSchema" + } + ] + }, + "headers": { + "$ref": "#/definitions/headers" + }, + "examples": { + "$ref": "#/definitions/examples" + } + }, + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "headers": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/header" + } + }, + "header": { + "type": "object", + "additionalProperties": false, + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "string", + "number", + "integer", + "boolean", + "array" + ] + }, + "format": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/primitivesItems" + }, + "collectionFormat": { + "$ref": "#/definitions/collectionFormat" + }, + "default": { + "$ref": "#/definitions/default" + }, + "maximum": { + "$ref": "#/definitions/maximum" + }, + "exclusiveMaximum": { + "$ref": "#/definitions/exclusiveMaximum" + }, + "minimum": { + "$ref": "#/definitions/minimum" + }, + "exclusiveMinimum": { + "$ref": "#/definitions/exclusiveMinimum" + }, + "maxLength": { + "$ref": "#/definitions/maxLength" + }, + "minLength": { + "$ref": "#/definitions/minLength" + }, + "pattern": { + "$ref": "#/definitions/pattern" + }, + "maxItems": { + "$ref": "#/definitions/maxItems" + }, + "minItems": { + "$ref": "#/definitions/minItems" + }, + "uniqueItems": { + "$ref": "#/definitions/uniqueItems" + }, + "enum": { + "$ref": "#/definitions/enum" + }, + "multipleOf": { + "$ref": "#/definitions/multipleOf" + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "vendorExtension": { + "description": "Any property starting with x- is valid.", + "additionalProperties": true, + "additionalItems": true + }, + "bodyParameter": { + "type": "object", + "required": [ + "name", + "in", + "schema" + ], + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "description": { + "type": "string", + "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." + }, + "name": { + "type": "string", + "description": "The name of the parameter." + }, + "in": { + "type": "string", + "description": "Determines the location of the parameter.", + "enum": [ + "body" + ] + }, + "required": { + "type": "boolean", + "description": "Determines whether or not this parameter is required or optional.", + "default": false + }, + "schema": { + "$ref": "#/definitions/schema" + } + }, + "additionalProperties": false + }, + "headerParameterSubSchema": { + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "required": { + "type": "boolean", + "description": "Determines whether or not this parameter is required or optional.", + "default": false + }, + "in": { + "type": "string", + "description": "Determines the location of the parameter.", + "enum": [ + "header" + ] + }, + "description": { + "type": "string", + "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." + }, + "name": { + "type": "string", + "description": "The name of the parameter." + }, + "type": { + "type": "string", + "enum": [ + "string", + "number", + "boolean", + "integer", + "array" + ] + }, + "format": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/primitivesItems" + }, + "collectionFormat": { + "$ref": "#/definitions/collectionFormat" + }, + "default": { + "$ref": "#/definitions/default" + }, + "maximum": { + "$ref": "#/definitions/maximum" + }, + "exclusiveMaximum": { + "$ref": "#/definitions/exclusiveMaximum" + }, + "minimum": { + "$ref": "#/definitions/minimum" + }, + "exclusiveMinimum": { + "$ref": "#/definitions/exclusiveMinimum" + }, + "maxLength": { + "$ref": "#/definitions/maxLength" + }, + "minLength": { + "$ref": "#/definitions/minLength" + }, + "pattern": { + "$ref": "#/definitions/pattern" + }, + "maxItems": { + "$ref": "#/definitions/maxItems" + }, + "minItems": { + "$ref": "#/definitions/minItems" + }, + "uniqueItems": { + "$ref": "#/definitions/uniqueItems" + }, + "enum": { + "$ref": "#/definitions/enum" + }, + "multipleOf": { + "$ref": "#/definitions/multipleOf" + } + } + }, + "queryParameterSubSchema": { + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "required": { + "type": "boolean", + "description": "Determines whether or not this parameter is required or optional.", + "default": false + }, + "in": { + "type": "string", + "description": "Determines the location of the parameter.", + "enum": [ + "query" + ] + }, + "description": { + "type": "string", + "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." + }, + "name": { + "type": "string", + "description": "The name of the parameter." + }, + "allowEmptyValue": { + "type": "boolean", + "default": false, + "description": "allows sending a parameter by name only or with an empty value." + }, + "type": { + "type": "string", + "enum": [ + "string", + "number", + "boolean", + "integer", + "array" + ] + }, + "format": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/primitivesItems" + }, + "collectionFormat": { + "$ref": "#/definitions/collectionFormatWithMulti" + }, + "default": { + "$ref": "#/definitions/default" + }, + "maximum": { + "$ref": "#/definitions/maximum" + }, + "exclusiveMaximum": { + "$ref": "#/definitions/exclusiveMaximum" + }, + "minimum": { + "$ref": "#/definitions/minimum" + }, + "exclusiveMinimum": { + "$ref": "#/definitions/exclusiveMinimum" + }, + "maxLength": { + "$ref": "#/definitions/maxLength" + }, + "minLength": { + "$ref": "#/definitions/minLength" + }, + "pattern": { + "$ref": "#/definitions/pattern" + }, + "maxItems": { + "$ref": "#/definitions/maxItems" + }, + "minItems": { + "$ref": "#/definitions/minItems" + }, + "uniqueItems": { + "$ref": "#/definitions/uniqueItems" + }, + "enum": { + "$ref": "#/definitions/enum" + }, + "multipleOf": { + "$ref": "#/definitions/multipleOf" + } + } + }, + "formDataParameterSubSchema": { + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "required": { + "type": "boolean", + "description": "Determines whether or not this parameter is required or optional.", + "default": false + }, + "in": { + "type": "string", + "description": "Determines the location of the parameter.", + "enum": [ + "formData" + ] + }, + "description": { + "type": "string", + "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." + }, + "name": { + "type": "string", + "description": "The name of the parameter." + }, + "allowEmptyValue": { + "type": "boolean", + "default": false, + "description": "allows sending a parameter by name only or with an empty value." + }, + "type": { + "type": "string", + "enum": [ + "string", + "number", + "boolean", + "integer", + "array", + "file" + ] + }, + "format": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/primitivesItems" + }, + "collectionFormat": { + "$ref": "#/definitions/collectionFormatWithMulti" + }, + "default": { + "$ref": "#/definitions/default" + }, + "maximum": { + "$ref": "#/definitions/maximum" + }, + "exclusiveMaximum": { + "$ref": "#/definitions/exclusiveMaximum" + }, + "minimum": { + "$ref": "#/definitions/minimum" + }, + "exclusiveMinimum": { + "$ref": "#/definitions/exclusiveMinimum" + }, + "maxLength": { + "$ref": "#/definitions/maxLength" + }, + "minLength": { + "$ref": "#/definitions/minLength" + }, + "pattern": { + "$ref": "#/definitions/pattern" + }, + "maxItems": { + "$ref": "#/definitions/maxItems" + }, + "minItems": { + "$ref": "#/definitions/minItems" + }, + "uniqueItems": { + "$ref": "#/definitions/uniqueItems" + }, + "enum": { + "$ref": "#/definitions/enum" + }, + "multipleOf": { + "$ref": "#/definitions/multipleOf" + } + } + }, + "pathParameterSubSchema": { + "additionalProperties": false, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "required": [ + "required" + ], + "properties": { + "required": { + "type": "boolean", + "enum": [ + true + ], + "description": "Determines whether or not this parameter is required or optional." + }, + "in": { + "type": "string", + "description": "Determines the location of the parameter.", + "enum": [ + "path" + ] + }, + "description": { + "type": "string", + "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." + }, + "name": { + "type": "string", + "description": "The name of the parameter." + }, + "type": { + "type": "string", + "enum": [ + "string", + "number", + "boolean", + "integer", + "array" + ] + }, + "format": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/primitivesItems" + }, + "collectionFormat": { + "$ref": "#/definitions/collectionFormat" + }, + "default": { + "$ref": "#/definitions/default" + }, + "maximum": { + "$ref": "#/definitions/maximum" + }, + "exclusiveMaximum": { + "$ref": "#/definitions/exclusiveMaximum" + }, + "minimum": { + "$ref": "#/definitions/minimum" + }, + "exclusiveMinimum": { + "$ref": "#/definitions/exclusiveMinimum" + }, + "maxLength": { + "$ref": "#/definitions/maxLength" + }, + "minLength": { + "$ref": "#/definitions/minLength" + }, + "pattern": { + "$ref": "#/definitions/pattern" + }, + "maxItems": { + "$ref": "#/definitions/maxItems" + }, + "minItems": { + "$ref": "#/definitions/minItems" + }, + "uniqueItems": { + "$ref": "#/definitions/uniqueItems" + }, + "enum": { + "$ref": "#/definitions/enum" + }, + "multipleOf": { + "$ref": "#/definitions/multipleOf" + } + } + }, + "nonBodyParameter": { + "type": "object", + "required": [ + "name", + "in", + "type" + ], + "oneOf": [ + { + "$ref": "#/definitions/headerParameterSubSchema" + }, + { + "$ref": "#/definitions/formDataParameterSubSchema" + }, + { + "$ref": "#/definitions/queryParameterSubSchema" + }, + { + "$ref": "#/definitions/pathParameterSubSchema" + } + ] + }, + "parameter": { + "oneOf": [ + { + "$ref": "#/definitions/bodyParameter" + }, + { + "$ref": "#/definitions/nonBodyParameter" + } + ] + }, + "schema": { + "type": "object", + "description": "A deterministic version of a JSON Schema object.", + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "properties": { + "$ref": { + "type": "string" + }, + "format": { + "type": "string" + }, + "title": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/title" + }, + "description": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/description" + }, + "default": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/default" + }, + "multipleOf": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf" + }, + "maximum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/maximum" + }, + "exclusiveMaximum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" + }, + "minimum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/minimum" + }, + "exclusiveMinimum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" + }, + "maxLength": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" + }, + "minLength": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" + }, + "pattern": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/pattern" + }, + "maxItems": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" + }, + "minItems": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" + }, + "uniqueItems": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems" + }, + "maxProperties": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" + }, + "minProperties": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" + }, + "required": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/stringArray" + }, + "enum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/enum" + }, + "additionalProperties": { + "anyOf": [ + { + "$ref": "#/definitions/schema" + }, + { + "type": "boolean" + } + ], + "default": {} + }, + "type": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/type" + }, + "items": { + "anyOf": [ + { + "$ref": "#/definitions/schema" + }, + { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/schema" + } + } + ], + "default": {} + }, + "allOf": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/schema" + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/schema" + }, + "default": {} + }, + "discriminator": { + "type": "string" + }, + "readOnly": { + "type": "boolean", + "default": false + }, + "xml": { + "$ref": "#/definitions/xml" + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "example": {} + }, + "additionalProperties": false + }, + "fileSchema": { + "type": "object", + "description": "A deterministic version of a JSON Schema object.", + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + }, + "required": [ + "type" + ], + "properties": { + "format": { + "type": "string" + }, + "title": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/title" + }, + "description": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/description" + }, + "default": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/default" + }, + "required": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/stringArray" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "readOnly": { + "type": "boolean", + "default": false + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "example": {} + }, + "additionalProperties": false + }, + "primitivesItems": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "string", + "number", + "integer", + "boolean", + "array" + ] + }, + "format": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/primitivesItems" + }, + "collectionFormat": { + "$ref": "#/definitions/collectionFormat" + }, + "default": { + "$ref": "#/definitions/default" + }, + "maximum": { + "$ref": "#/definitions/maximum" + }, + "exclusiveMaximum": { + "$ref": "#/definitions/exclusiveMaximum" + }, + "minimum": { + "$ref": "#/definitions/minimum" + }, + "exclusiveMinimum": { + "$ref": "#/definitions/exclusiveMinimum" + }, + "maxLength": { + "$ref": "#/definitions/maxLength" + }, + "minLength": { + "$ref": "#/definitions/minLength" + }, + "pattern": { + "$ref": "#/definitions/pattern" + }, + "maxItems": { + "$ref": "#/definitions/maxItems" + }, + "minItems": { + "$ref": "#/definitions/minItems" + }, + "uniqueItems": { + "$ref": "#/definitions/uniqueItems" + }, + "enum": { + "$ref": "#/definitions/enum" + }, + "multipleOf": { + "$ref": "#/definitions/multipleOf" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "security": { + "type": "array", + "items": { + "$ref": "#/definitions/securityRequirement" + }, + "uniqueItems": true + }, + "securityRequirement": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "xml": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "prefix": { + "type": "string" + }, + "attribute": { + "type": "boolean", + "default": false + }, + "wrapped": { + "type": "boolean", + "default": false + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "tag": { + "type": "object", + "additionalProperties": false, + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "securityDefinitions": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/definitions/basicAuthenticationSecurity" + }, + { + "$ref": "#/definitions/apiKeySecurity" + }, + { + "$ref": "#/definitions/oauth2ImplicitSecurity" + }, + { + "$ref": "#/definitions/oauth2PasswordSecurity" + }, + { + "$ref": "#/definitions/oauth2ApplicationSecurity" + }, + { + "$ref": "#/definitions/oauth2AccessCodeSecurity" + } + ] + } + }, + "basicAuthenticationSecurity": { + "type": "object", + "additionalProperties": false, + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "apiKeySecurity": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "name", + "in" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "apiKey" + ] + }, + "name": { + "type": "string" + }, + "in": { + "type": "string", + "enum": [ + "header", + "query" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "oauth2ImplicitSecurity": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "flow", + "authorizationUrl" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "oauth2" + ] + }, + "flow": { + "type": "string", + "enum": [ + "implicit" + ] + }, + "scopes": { + "$ref": "#/definitions/oauth2Scopes" + }, + "authorizationUrl": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "oauth2PasswordSecurity": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "flow", + "tokenUrl" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "oauth2" + ] + }, + "flow": { + "type": "string", + "enum": [ + "password" + ] + }, + "scopes": { + "$ref": "#/definitions/oauth2Scopes" + }, + "tokenUrl": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "oauth2ApplicationSecurity": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "flow", + "tokenUrl" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "oauth2" + ] + }, + "flow": { + "type": "string", + "enum": [ + "application" + ] + }, + "scopes": { + "$ref": "#/definitions/oauth2Scopes" + }, + "tokenUrl": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "oauth2AccessCodeSecurity": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "flow", + "authorizationUrl", + "tokenUrl" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "oauth2" + ] + }, + "flow": { + "type": "string", + "enum": [ + "accessCode" + ] + }, + "scopes": { + "$ref": "#/definitions/oauth2Scopes" + }, + "authorizationUrl": { + "type": "string", + "format": "uri" + }, + "tokenUrl": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-": { + "$ref": "#/definitions/vendorExtension" + } + } + }, + "oauth2Scopes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "mediaTypeList": { + "type": "array", + "items": { + "$ref": "#/definitions/mimeType" + }, + "uniqueItems": true + }, + "parametersList": { + "type": "array", + "description": "The parameters needed to send a valid API call.", + "additionalItems": false, + "items": { + "oneOf": [ + { + "$ref": "#/definitions/parameter" + }, + { + "$ref": "#/definitions/jsonReference" + } + ] + }, + "uniqueItems": true + }, + "schemesList": { + "type": "array", + "description": "The transfer protocol of the API.", + "items": { + "type": "string", + "enum": [ + "http", + "https", + "ws", + "wss" + ] + }, + "uniqueItems": true + }, + "collectionFormat": { + "type": "string", + "enum": [ + "csv", + "ssv", + "tsv", + "pipes" + ], + "default": "csv" + }, + "collectionFormatWithMulti": { + "type": "string", + "enum": [ + "csv", + "ssv", + "tsv", + "pipes", + "multi" + ], + "default": "csv" + }, + "title": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/title" + }, + "description": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/description" + }, + "default": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/default" + }, + "multipleOf": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf" + }, + "maximum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/maximum" + }, + "exclusiveMaximum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" + }, + "minimum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/minimum" + }, + "exclusiveMinimum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" + }, + "maxLength": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" + }, + "minLength": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" + }, + "pattern": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/pattern" + }, + "maxItems": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" + }, + "minItems": { + "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" + }, + "uniqueItems": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems" + }, + "enum": { + "$ref": "http://json-schema.org/draft-04/schema#/properties/enum" + }, + "jsonReference": { + "type": "object", + "required": [ + "$ref" + ], + "additionalProperties": false, + "properties": { + "$ref": { + "type": "string" + } + } + } + } + }, + "tests": [ + { + "description": "Example petsore", + "data": { + "swagger": "2.0", + "info": { + "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", + "version": "1.0.0", + "title": "Swagger Petstore", + "termsOfService": "http://swagger.io/terms/", + "contact": { + "email": "apiteam@swagger.io" + }, + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + } + }, + "host": "petstore.swagger.io", + "basePath": "/v2", + "tags": [ + { + "name": "pet", + "description": "Everything about your Pets", + "externalDocs": { + "description": "Find out more", + "url": "http://swagger.io" + } + }, + { + "name": "store", + "description": "Access to Petstore orders" + }, + { + "name": "user", + "description": "Operations about user", + "externalDocs": { + "description": "Find out more about our store", + "url": "http://swagger.io" + } + } + ], + "schemes": [ + "http" + ], + "paths": { + "/pet": { + "post": { + "tags": [ + "pet" + ], + "summary": "Add a new pet to the store", + "description": "", + "operationId": "addPet", + "consumes": [ + "application/json", + "application/xml" + ], + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Pet object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Pet" + } + } + ], + "responses": { + "405": { + "description": "Invalid input" + } + }, + "security": [ + { + "petstore_auth": [ + "write:pets", + "read:pets" + ] + } + ] + }, + "put": { + "tags": [ + "pet" + ], + "summary": "Update an existing pet", + "description": "", + "operationId": "updatePet", + "consumes": [ + "application/json", + "application/xml" + ], + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Pet object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Pet" + } + } + ], + "responses": { + "400": { + "description": "Invalid ID supplied" + }, + "404": { + "description": "Pet not found" + }, + "405": { + "description": "Validation exception" + } + }, + "security": [ + { + "petstore_auth": [ + "write:pets", + "read:pets" + ] + } + ] + } + }, + "/pet/findByStatus": { + "get": { + "tags": [ + "pet" + ], + "summary": "Finds Pets by status", + "description": "Multiple status values can be provided with comma separated strings", + "operationId": "findPetsByStatus", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "status", + "in": "query", + "description": "Status values that need to be considered for filter", + "required": true, + "type": "array", + "items": { + "type": "string", + "enum": [ + "available", + "pending", + "sold" + ], + "default": "available" + }, + "collectionFormat": "multi" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Pet" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "petstore_auth": [ + "write:pets", + "read:pets" + ] + } + ] + } + }, + "/pet/findByTags": { + "get": { + "tags": [ + "pet" + ], + "summary": "Finds Pets by tags", + "description": "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.", + "operationId": "findPetsByTags", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "tags", + "in": "query", + "description": "Tags to filter by", + "required": true, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Pet" + } + } + }, + "400": { + "description": "Invalid tag value" + } + }, + "security": [ + { + "petstore_auth": [ + "write:pets", + "read:pets" + ] + } + ], + "deprecated": true + } + }, + "/pet/{petId}": { + "get": { + "tags": [ + "pet" + ], + "summary": "Find pet by ID", + "description": "Returns a single pet", + "operationId": "getPetById", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "description": "ID of pet to return", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Pet" + } + }, + "400": { + "description": "Invalid ID supplied" + }, + "404": { + "description": "Pet not found" + } + }, + "security": [ + { + "api_key": [] + } + ] + }, + "post": { + "tags": [ + "pet" + ], + "summary": "Updates a pet in the store with form data", + "description": "", + "operationId": "updatePetWithForm", + "consumes": [ + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "description": "ID of pet that needs to be updated", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "name", + "in": "formData", + "description": "Updated name of the pet", + "required": false, + "type": "string" + }, + { + "name": "status", + "in": "formData", + "description": "Updated status of the pet", + "required": false, + "type": "string" + } + ], + "responses": { + "405": { + "description": "Invalid input" + } + }, + "security": [ + { + "petstore_auth": [ + "write:pets", + "read:pets" + ] + } + ] + }, + "delete": { + "tags": [ + "pet" + ], + "summary": "Deletes a pet", + "description": "", + "operationId": "deletePet", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "api_key", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "petId", + "in": "path", + "description": "Pet id to delete", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "responses": { + "400": { + "description": "Invalid ID supplied" + }, + "404": { + "description": "Pet not found" + } + }, + "security": [ + { + "petstore_auth": [ + "write:pets", + "read:pets" + ] + } + ] + } + }, + "/pet/{petId}/uploadImage": { + "post": { + "tags": [ + "pet" + ], + "summary": "uploads an image", + "description": "", + "operationId": "uploadFile", + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "description": "ID of pet to update", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "additionalMetadata", + "in": "formData", + "description": "Additional data to pass to server", + "required": false, + "type": "string" + }, + { + "name": "file", + "in": "formData", + "description": "file to upload", + "required": false, + "type": "file" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ApiResponse" + } + } + }, + "security": [ + { + "petstore_auth": [ + "write:pets", + "read:pets" + ] + } + ] + } + }, + "/store/inventory": { + "get": { + "tags": [ + "store" + ], + "summary": "Returns pet inventories by status", + "description": "Returns a map of status codes to quantities", + "operationId": "getInventory", + "produces": [ + "application/json" + ], + "parameters": [], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int32" + } + } + } + }, + "security": [ + { + "api_key": [] + } + ] + } + }, + "/store/order": { + "post": { + "tags": [ + "store" + ], + "summary": "Place an order for a pet", + "description": "", + "operationId": "placeOrder", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "order placed for purchasing the pet", + "required": true, + "schema": { + "$ref": "#/definitions/Order" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Order" + } + }, + "400": { + "description": "Invalid Order" + } + } + } + }, + "/store/order/{orderId}": { + "get": { + "tags": [ + "store" + ], + "summary": "Find purchase order by ID", + "description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions", + "operationId": "getOrderById", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "orderId", + "in": "path", + "description": "ID of pet that needs to be fetched", + "required": true, + "type": "integer", + "maximum": 10.0, + "minimum": 1.0, + "format": "int64" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Order" + } + }, + "400": { + "description": "Invalid ID supplied" + }, + "404": { + "description": "Order not found" + } + } + }, + "delete": { + "tags": [ + "store" + ], + "summary": "Delete purchase order by ID", + "description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors", + "operationId": "deleteOrder", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "orderId", + "in": "path", + "description": "ID of the order that needs to be deleted", + "required": true, + "type": "integer", + "minimum": 1.0, + "format": "int64" + } + ], + "responses": { + "400": { + "description": "Invalid ID supplied" + }, + "404": { + "description": "Order not found" + } + } + } + }, + "/user": { + "post": { + "tags": [ + "user" + ], + "summary": "Create user", + "description": "This can only be done by the logged in user.", + "operationId": "createUser", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Created user object", + "required": true, + "schema": { + "$ref": "#/definitions/User" + } + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/user/createWithArray": { + "post": { + "tags": [ + "user" + ], + "summary": "Creates list of users with given input array", + "description": "", + "operationId": "createUsersWithArrayInput", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "List of user object", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/user/createWithList": { + "post": { + "tags": [ + "user" + ], + "summary": "Creates list of users with given input array", + "description": "", + "operationId": "createUsersWithListInput", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "List of user object", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/user/login": { + "get": { + "tags": [ + "user" + ], + "summary": "Logs user into the system", + "description": "", + "operationId": "loginUser", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "username", + "in": "query", + "description": "The user name for login", + "required": true, + "type": "string" + }, + { + "name": "password", + "in": "query", + "description": "The password for login in clear text", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "string" + }, + "headers": { + "X-Rate-Limit": { + "type": "integer", + "format": "int32", + "description": "calls per hour allowed by the user" + }, + "X-Expires-After": { + "type": "string", + "format": "date-time", + "description": "date in UTC when token expires" + } + } + }, + "400": { + "description": "Invalid username/password supplied" + } + } + } + }, + "/user/logout": { + "get": { + "tags": [ + "user" + ], + "summary": "Logs out current logged in user session", + "description": "", + "operationId": "logoutUser", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/user/{username}": { + "get": { + "tags": [ + "user" + ], + "summary": "Get user by user name", + "description": "", + "operationId": "getUserByName", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "username", + "in": "path", + "description": "The name that needs to be fetched. Use user1 for testing. ", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/User" + } + }, + "400": { + "description": "Invalid username supplied" + }, + "404": { + "description": "User not found" + } + } + }, + "put": { + "tags": [ + "user" + ], + "summary": "Updated user", + "description": "This can only be done by the logged in user.", + "operationId": "updateUser", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "username", + "in": "path", + "description": "name that need to be updated", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Updated user object", + "required": true, + "schema": { + "$ref": "#/definitions/User" + } + } + ], + "responses": { + "400": { + "description": "Invalid user supplied" + }, + "404": { + "description": "User not found" + } + } + }, + "delete": { + "tags": [ + "user" + ], + "summary": "Delete user", + "description": "This can only be done by the logged in user.", + "operationId": "deleteUser", + "produces": [ + "application/xml", + "application/json" + ], + "parameters": [ + { + "name": "username", + "in": "path", + "description": "The name that needs to be deleted", + "required": true, + "type": "string" + } + ], + "responses": { + "400": { + "description": "Invalid username supplied" + }, + "404": { + "description": "User not found" + } + } + } + } + }, + "securityDefinitions": { + "petstore_auth": { + "type": "oauth2", + "authorizationUrl": "http://petstore.swagger.io/oauth/dialog", + "flow": "implicit", + "scopes": { + "write:pets": "modify pets in your account", + "read:pets": "read your pets" + } + }, + "api_key": { + "type": "apiKey", + "name": "api_key", + "in": "header" + } + }, + "definitions": { + "Order": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "petId": { + "type": "integer", + "format": "int64" + }, + "quantity": { + "type": "integer", + "format": "int32" + }, + "shipDate": { + "type": "string", + "format": "date-time" + }, + "status": { + "type": "string", + "description": "Order Status", + "enum": [ + "placed", + "approved", + "delivered" + ] + }, + "complete": { + "type": "boolean", + "default": false + } + }, + "xml": { + "name": "Order" + } + }, + "Category": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + } + }, + "xml": { + "name": "Category" + } + }, + "User": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "username": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "password": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "userStatus": { + "type": "integer", + "format": "int32", + "description": "User Status" + } + }, + "xml": { + "name": "User" + } + }, + "Tag": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + } + }, + "xml": { + "name": "Tag" + } + }, + "Pet": { + "type": "object", + "required": [ + "name", + "photoUrls" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "category": { + "$ref": "#/definitions/Category" + }, + "name": { + "type": "string", + "example": "doggie" + }, + "photoUrls": { + "type": "array", + "xml": { + "name": "photoUrl", + "wrapped": true + }, + "items": { + "type": "string" + } + }, + "tags": { + "type": "array", + "xml": { + "name": "tag", + "wrapped": true + }, + "items": { + "$ref": "#/definitions/Tag" + } + }, + "status": { + "type": "string", + "description": "pet status in the store", + "enum": [ + "available", + "pending", + "sold" + ] + } + }, + "xml": { + "name": "Pet" + } + }, + "ApiResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string" + }, + "message": { + "type": "string" + } + } + } + }, + "externalDocs": { + "description": "Find out more about Swagger", + "url": "http://swagger.io" + } + }, + "valid": true + } + ] + } +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/json_schema_test_suite.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/json_schema_test_suite.py new file mode 100644 index 0000000000000000000000000000000000000000..905fb6a3b88faf56e3288f7eb5053172f97abe8b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/json_schema_test_suite.py @@ -0,0 +1,12 @@ +""" +A performance benchmark using the official test suite. + +This benchmarks jsonschema using every valid example in the +JSON-Schema-Test-Suite. It will take some time to complete. +""" +from pyperf import Runner + +from jsonschema.tests._suite import Suite + +if __name__ == "__main__": + Suite().benchmark(runner=Runner()) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/nested_schemas.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/nested_schemas.py new file mode 100644 index 0000000000000000000000000000000000000000..b2e60a18e0d803db43545b6fc42e51074bc522c9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/nested_schemas.py @@ -0,0 +1,56 @@ +""" +Validating highly nested schemas shouldn't cause exponential time blowups. + +See https://github.com/python-jsonschema/jsonschema/issues/1097. +""" +from itertools import cycle + +from jsonschema.validators import validator_for + +metaschemaish = { + "$id": "https://example.com/draft/2020-12/schema/strict", + "$schema": "https://json-schema.org/draft/2020-12/schema", + + "$vocabulary": { + "https://json-schema.org/draft/2020-12/vocab/core": True, + "https://json-schema.org/draft/2020-12/vocab/applicator": True, + "https://json-schema.org/draft/2020-12/vocab/unevaluated": True, + "https://json-schema.org/draft/2020-12/vocab/validation": True, + "https://json-schema.org/draft/2020-12/vocab/meta-data": True, + "https://json-schema.org/draft/2020-12/vocab/format-annotation": True, + "https://json-schema.org/draft/2020-12/vocab/content": True + }, + "$dynamicAnchor": "meta", + + "$ref": "https://json-schema.org/draft/2020-12/schema", + "unevaluatedProperties": False, +} + + +def nested_schema(levels): + """ + Produce a schema which validates deeply nested objects and arrays. + """ + + names = cycle(["foo", "bar", "baz", "quux", "spam", "eggs"]) + schema = {"type": "object", "properties": {"ham": {"type": "string"}}} + for _, name in zip(range(levels - 1), names): + schema = {"type": "object", "properties": {name: schema}} + return schema + + +validator = validator_for(metaschemaish)(metaschemaish) + +if __name__ == "__main__": + from pyperf import Runner + runner = Runner() + + not_nested = nested_schema(levels=1) + runner.bench_func("not nested", lambda: validator.is_valid(not_nested)) + + for levels in range(1, 11, 3): + schema = nested_schema(levels=levels) + runner.bench_func( + f"nested * {levels}", + lambda schema=schema: validator.is_valid(schema), + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/subcomponents.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/subcomponents.py new file mode 100644 index 0000000000000000000000000000000000000000..225d86e72d59bba808b00c59f59d6489eda8ccc7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/subcomponents.py @@ -0,0 +1,42 @@ +""" +A benchmark which tries to compare the possible slow subparts of validation. +""" +from referencing import Registry +from referencing.jsonschema import DRAFT202012 +from rpds import HashTrieMap, HashTrieSet + +from jsonschema import Draft202012Validator + +schema = { + "type": "array", + "minLength": 1, + "maxLength": 1, + "items": {"type": "integer"} +} + +hmap = HashTrieMap() +hset = HashTrieSet() + +registry = Registry() + +v = Draft202012Validator(schema) + + +def registry_data_structures(): + return hmap.insert("foo", "bar"), hset.insert("foo") + + +def registry_add(): + resource = DRAFT202012.create_resource(schema) + return registry.with_resource(uri="urn:example", resource=resource) + + +if __name__ == "__main__": + from pyperf import Runner + runner = Runner() + + runner.bench_func("HashMap/HashSet insertion", registry_data_structures) + runner.bench_func("Registry insertion", registry_add) + runner.bench_func("Success", lambda: v.is_valid([1])) + runner.bench_func("Failure", lambda: v.is_valid(["foo"])) + runner.bench_func("Metaschema validation", lambda: v.check_schema(schema)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/unused_registry.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/unused_registry.py new file mode 100644 index 0000000000000000000000000000000000000000..600351c02e02b964fa0f902941bfa278cf3cc71b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/unused_registry.py @@ -0,0 +1,35 @@ +""" +An unused schema registry should not cause slower validation. + +"Unused" here means one where no reference resolution is occurring anyhow. + +See https://github.com/python-jsonschema/jsonschema/issues/1088. +""" +from pyperf import Runner +from referencing import Registry +from referencing.jsonschema import DRAFT201909 + +from jsonschema import Draft201909Validator + +registry = Registry().with_resource( + "urn:example:foo", + DRAFT201909.create_resource({}) +) + +schema = {"$ref": "https://json-schema.org/draft/2019-09/schema"} +instance = {"maxLength": 4} + +no_registry = Draft201909Validator(schema) +with_useless_registry = Draft201909Validator(schema, registry=registry) + +if __name__ == "__main__": + runner = Runner() + + runner.bench_func( + "no registry", + lambda: no_registry.is_valid(instance), + ) + runner.bench_func( + "useless registry", + lambda: with_useless_registry.is_valid(instance), + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/validator_creation.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/validator_creation.py new file mode 100644 index 0000000000000000000000000000000000000000..4baeb3a31641a027496732a6f10e200346551209 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/benchmarks/validator_creation.py @@ -0,0 +1,14 @@ +from pyperf import Runner + +from jsonschema import Draft202012Validator + +schema = { + "type": "array", + "minLength": 1, + "maxLength": 1, + "items": {"type": "integer"}, +} + + +if __name__ == "__main__": + Runner().bench_func("validator creation", Draft202012Validator, schema) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3c79ec4ff7ce3a9920be6300385b3bfa8a47994f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/_suite.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/_suite.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2d7590cd2f73718c7c2410b0ddfb2609446278cd Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/_suite.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/fuzz_validate.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/fuzz_validate.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8c84d6ea1102cd25e1b02709826f41d10b88105d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/fuzz_validate.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_cli.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_cli.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fc10982cc00dff0149452764d8304e2c93ebd502 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_cli.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_deprecations.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_deprecations.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6c6b687b326a26e26ed3320e9400512bfd3432fb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_deprecations.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_exceptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_exceptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1bd4928534dd301103dff21c02c1176a97ee216f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_exceptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_format.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_format.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0db749a4308574463880ce0f768737180cc7e730 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_format.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_jsonschema_test_suite.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_jsonschema_test_suite.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0c85277399610e18e58b5c847ccfe26d194500f5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_jsonschema_test_suite.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_types.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_types.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b57612f55ceaa643cfebcc6bd30ed3348d4afbec Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_types.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f4967790391c8887997736b10b8335d4e46dbd8a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_validators.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_validators.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a9ab50956fbe348ae36f65c4f1e17b007e3bcef3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/__pycache__/test_validators.cpython-312.pyc @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4a0019b4c77e427afbc2c831e35a7860ae7cc1b29d70bdfe369a44a2f8ca706 +size 130088 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/_suite.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/_suite.py new file mode 100644 index 0000000000000000000000000000000000000000..84ab7b9d8038ba10111cca798d64c1f13125e0b9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/_suite.py @@ -0,0 +1,274 @@ +""" +Python representations of the JSON Schema Test Suite tests. +""" +from __future__ import annotations + +from collections.abc import Iterable, Mapping +from contextlib import suppress +from functools import partial +from pathlib import Path +from typing import TYPE_CHECKING, Any +import json +import os +import re +import subprocess +import sys +import unittest + +from attrs import field, frozen +from referencing import Registry +import referencing.jsonschema + +if TYPE_CHECKING: + import pyperf + +from jsonschema.validators import _VALIDATORS +import jsonschema + +_DELIMITERS = re.compile(r"[\W\- ]+") + + +def _find_suite(): + root = os.environ.get("JSON_SCHEMA_TEST_SUITE") + if root is not None: + return Path(root) + + root = Path(jsonschema.__file__).parent.parent / "json" + if not root.is_dir(): # pragma: no cover + raise ValueError( + ( + "Can't find the JSON-Schema-Test-Suite directory. " + "Set the 'JSON_SCHEMA_TEST_SUITE' environment " + "variable or run the tests from alongside a checkout " + "of the suite." + ), + ) + return root + + +@frozen +class Suite: + + _root: Path = field(factory=_find_suite) + _remotes: referencing.jsonschema.SchemaRegistry = field(init=False) + + def __attrs_post_init__(self): + jsonschema_suite = self._root.joinpath("bin", "jsonschema_suite") + argv = [sys.executable, str(jsonschema_suite), "remotes"] + remotes = subprocess.check_output(argv).decode("utf-8") + + resources = json.loads(remotes) + + li = "http://localhost:1234/locationIndependentIdentifierPre2019.json" + li4 = "http://localhost:1234/locationIndependentIdentifierDraft4.json" + + registry = Registry().with_resources( + [ + ( + li, + referencing.jsonschema.DRAFT7.create_resource( + contents=resources.pop(li), + ), + ), + ( + li4, + referencing.jsonschema.DRAFT4.create_resource( + contents=resources.pop(li4), + ), + ), + ], + ).with_contents( + resources.items(), + default_specification=referencing.jsonschema.DRAFT202012, + ) + object.__setattr__(self, "_remotes", registry) + + def benchmark(self, runner: pyperf.Runner): # pragma: no cover + for name, Validator in _VALIDATORS.items(): + self.version(name=name).benchmark( + runner=runner, + Validator=Validator, + ) + + def version(self, name) -> Version: + return Version( + name=name, + path=self._root / "tests" / name, + remotes=self._remotes, + ) + + +@frozen +class Version: + + _path: Path + _remotes: referencing.jsonschema.SchemaRegistry + + name: str + + def benchmark(self, **kwargs): # pragma: no cover + for case in self.cases(): + case.benchmark(**kwargs) + + def cases(self) -> Iterable[_Case]: + return self._cases_in(paths=self._path.glob("*.json")) + + def format_cases(self) -> Iterable[_Case]: + return self._cases_in(paths=self._path.glob("optional/format/*.json")) + + def optional_cases_of(self, name: str) -> Iterable[_Case]: + return self._cases_in(paths=[self._path / "optional" / f"{name}.json"]) + + def to_unittest_testcase(self, *groups, **kwargs): + name = kwargs.pop("name", "Test" + self.name.title().replace("-", "")) + methods = { + method.__name__: method + for method in ( + test.to_unittest_method(**kwargs) + for group in groups + for case in group + for test in case.tests + ) + } + cls = type(name, (unittest.TestCase,), methods) + + # We're doing crazy things, so if they go wrong, like a function + # behaving differently on some other interpreter, just make them + # not happen. + with suppress(Exception): + cls.__module__ = _someone_save_us_the_module_of_the_caller() + + return cls + + def _cases_in(self, paths: Iterable[Path]) -> Iterable[_Case]: + for path in paths: + for case in json.loads(path.read_text(encoding="utf-8")): + yield _Case.from_dict( + case, + version=self, + subject=path.stem, + remotes=self._remotes, + ) + + +@frozen +class _Case: + + version: Version + + subject: str + description: str + schema: Mapping[str, Any] | bool + tests: list[_Test] + comment: str | None = None + + @classmethod + def from_dict(cls, data, remotes, **kwargs): + data.update(kwargs) + tests = [ + _Test( + version=data["version"], + subject=data["subject"], + case_description=data["description"], + schema=data["schema"], + remotes=remotes, + **test, + ) for test in data.pop("tests") + ] + return cls(tests=tests, **data) + + def benchmark(self, runner: pyperf.Runner, **kwargs): # pragma: no cover + for test in self.tests: + runner.bench_func( + test.fully_qualified_name, + partial(test.validate_ignoring_errors, **kwargs), + ) + + +@frozen(repr=False) +class _Test: + + version: Version + + subject: str + case_description: str + description: str + + data: Any + schema: Mapping[str, Any] | bool + + valid: bool + + _remotes: referencing.jsonschema.SchemaRegistry + + comment: str | None = None + + def __repr__(self): # pragma: no cover + return f"" + + @property + def fully_qualified_name(self): # pragma: no cover + return " > ".join( + [ + self.version.name, + self.subject, + self.case_description, + self.description, + ], + ) + + def to_unittest_method(self, skip=lambda test: None, **kwargs): + if self.valid: + def fn(this): + self.validate(**kwargs) + else: + def fn(this): + with this.assertRaises(jsonschema.ValidationError): + self.validate(**kwargs) + + fn.__name__ = "_".join( + [ + "test", + _DELIMITERS.sub("_", self.subject), + _DELIMITERS.sub("_", self.case_description), + _DELIMITERS.sub("_", self.description), + ], + ) + reason = skip(self) + if reason is None or os.environ.get("JSON_SCHEMA_DEBUG", "0") != "0": + return fn + elif os.environ.get("JSON_SCHEMA_EXPECTED_FAILURES", "0") != "0": # pragma: no cover # noqa: E501 + return unittest.expectedFailure(fn) + else: + return unittest.skip(reason)(fn) + + def validate(self, Validator, **kwargs): + Validator.check_schema(self.schema) + validator = Validator( + schema=self.schema, + registry=self._remotes, + **kwargs, + ) + if os.environ.get("JSON_SCHEMA_DEBUG", "0") != "0": # pragma: no cover + breakpoint() + validator.validate(instance=self.data) + + def validate_ignoring_errors(self, Validator): # pragma: no cover + with suppress(jsonschema.ValidationError): + self.validate(Validator=Validator) + + +def _someone_save_us_the_module_of_the_caller(): + """ + The FQON of the module 2nd stack frames up from here. + + This is intended to allow us to dynamically return test case classes that + are indistinguishable from being defined in the module that wants them. + + Otherwise, trial will mis-print the FQON, and copy pasting it won't re-run + the class that really is running. + + Save us all, this is all so so so so so terrible. + """ + + return sys._getframe(2).f_globals["__name__"] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/fuzz_validate.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/fuzz_validate.py new file mode 100644 index 0000000000000000000000000000000000000000..c12e88bcfe9bfdc0e0ffaab502789a6b585d4be2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/fuzz_validate.py @@ -0,0 +1,50 @@ +""" +Fuzzing setup for OSS-Fuzz. + +See https://github.com/google/oss-fuzz/tree/master/projects/jsonschema for the +other half of the setup here. +""" +import sys + +from hypothesis import given, strategies + +import jsonschema + +PRIM = strategies.one_of( + strategies.booleans(), + strategies.integers(), + strategies.floats(allow_nan=False, allow_infinity=False), + strategies.text(), +) +DICT = strategies.recursive( + base=strategies.one_of( + strategies.booleans(), + strategies.dictionaries(strategies.text(), PRIM), + ), + extend=lambda inner: strategies.dictionaries(strategies.text(), inner), +) + + +@given(obj1=DICT, obj2=DICT) +def test_schemas(obj1, obj2): + try: + jsonschema.validate(instance=obj1, schema=obj2) + except jsonschema.exceptions.ValidationError: + pass + except jsonschema.exceptions.SchemaError: + pass + + +def main(): + atheris.instrument_all() + atheris.Setup( + sys.argv, + test_schemas.hypothesis.fuzz_one_input, + enable_python_coverage=True, + ) + atheris.Fuzz() + + +if __name__ == "__main__": + import atheris + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_cli.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_cli.py new file mode 100644 index 0000000000000000000000000000000000000000..6f70247f3c71b8cea66bff6a8dd065fb2d46a76c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_cli.py @@ -0,0 +1,907 @@ +from contextlib import redirect_stderr, redirect_stdout +from importlib import metadata +from io import StringIO +from json import JSONDecodeError +from pathlib import Path +from textwrap import dedent +from unittest import TestCase +import json +import os +import subprocess +import sys +import tempfile +import warnings + +from jsonschema import Draft4Validator, Draft202012Validator +from jsonschema.exceptions import ( + SchemaError, + ValidationError, + _RefResolutionError, +) +from jsonschema.validators import _LATEST_VERSION, validate + +with warnings.catch_warnings(): + warnings.simplefilter("ignore") + from jsonschema import cli + + +def fake_validator(*errors): + errors = list(reversed(errors)) + + class FakeValidator: + def __init__(self, *args, **kwargs): + pass + + def iter_errors(self, instance): + if errors: + return errors.pop() + return [] # pragma: no cover + + @classmethod + def check_schema(self, schema): + pass + + return FakeValidator + + +def fake_open(all_contents): + def open(path): + contents = all_contents.get(path) + if contents is None: + raise FileNotFoundError(path) + return StringIO(contents) + return open + + +def _message_for(non_json): + try: + json.loads(non_json) + except JSONDecodeError as error: + return str(error) + else: # pragma: no cover + raise RuntimeError("Tried and failed to capture a JSON dump error.") + + +class TestCLI(TestCase): + def run_cli( + self, argv, files=None, stdin=StringIO(), exit_code=0, **override, + ): + arguments = cli.parse_args(argv) + arguments.update(override) + + self.assertFalse(hasattr(cli, "open")) + cli.open = fake_open(files or {}) + try: + stdout, stderr = StringIO(), StringIO() + actual_exit_code = cli.run( + arguments, + stdin=stdin, + stdout=stdout, + stderr=stderr, + ) + finally: + del cli.open + + self.assertEqual( + actual_exit_code, exit_code, msg=dedent( + f""" + Expected an exit code of {exit_code} != {actual_exit_code}. + + stdout: {stdout.getvalue()} + + stderr: {stderr.getvalue()} + """, + ), + ) + return stdout.getvalue(), stderr.getvalue() + + def assertOutputs(self, stdout="", stderr="", **kwargs): + self.assertEqual( + self.run_cli(**kwargs), + (dedent(stdout), dedent(stderr)), + ) + + def test_invalid_instance(self): + error = ValidationError("I am an error!", instance=12) + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_instance=json.dumps(error.instance), + ), + validator=fake_validator([error]), + + argv=["-i", "some_instance", "some_schema"], + + exit_code=1, + stderr="12: I am an error!\n", + ) + + def test_invalid_instance_pretty_output(self): + error = ValidationError("I am an error!", instance=12) + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_instance=json.dumps(error.instance), + ), + validator=fake_validator([error]), + + argv=["-i", "some_instance", "--output", "pretty", "some_schema"], + + exit_code=1, + stderr="""\ + ===[ValidationError]===(some_instance)=== + + I am an error! + ----------------------------- + """, + ) + + def test_invalid_instance_explicit_plain_output(self): + error = ValidationError("I am an error!", instance=12) + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_instance=json.dumps(error.instance), + ), + validator=fake_validator([error]), + + argv=["--output", "plain", "-i", "some_instance", "some_schema"], + + exit_code=1, + stderr="12: I am an error!\n", + ) + + def test_invalid_instance_multiple_errors(self): + instance = 12 + first = ValidationError("First error", instance=instance) + second = ValidationError("Second error", instance=instance) + + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_instance=json.dumps(instance), + ), + validator=fake_validator([first, second]), + + argv=["-i", "some_instance", "some_schema"], + + exit_code=1, + stderr="""\ + 12: First error + 12: Second error + """, + ) + + def test_invalid_instance_multiple_errors_pretty_output(self): + instance = 12 + first = ValidationError("First error", instance=instance) + second = ValidationError("Second error", instance=instance) + + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_instance=json.dumps(instance), + ), + validator=fake_validator([first, second]), + + argv=["-i", "some_instance", "--output", "pretty", "some_schema"], + + exit_code=1, + stderr="""\ + ===[ValidationError]===(some_instance)=== + + First error + ----------------------------- + ===[ValidationError]===(some_instance)=== + + Second error + ----------------------------- + """, + ) + + def test_multiple_invalid_instances(self): + first_instance = 12 + first_errors = [ + ValidationError("An error", instance=first_instance), + ValidationError("Another error", instance=first_instance), + ] + second_instance = "foo" + second_errors = [ValidationError("BOOM", instance=second_instance)] + + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_first_instance=json.dumps(first_instance), + some_second_instance=json.dumps(second_instance), + ), + validator=fake_validator(first_errors, second_errors), + + argv=[ + "-i", "some_first_instance", + "-i", "some_second_instance", + "some_schema", + ], + + exit_code=1, + stderr="""\ + 12: An error + 12: Another error + foo: BOOM + """, + ) + + def test_multiple_invalid_instances_pretty_output(self): + first_instance = 12 + first_errors = [ + ValidationError("An error", instance=first_instance), + ValidationError("Another error", instance=first_instance), + ] + second_instance = "foo" + second_errors = [ValidationError("BOOM", instance=second_instance)] + + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_first_instance=json.dumps(first_instance), + some_second_instance=json.dumps(second_instance), + ), + validator=fake_validator(first_errors, second_errors), + + argv=[ + "--output", "pretty", + "-i", "some_first_instance", + "-i", "some_second_instance", + "some_schema", + ], + + exit_code=1, + stderr="""\ + ===[ValidationError]===(some_first_instance)=== + + An error + ----------------------------- + ===[ValidationError]===(some_first_instance)=== + + Another error + ----------------------------- + ===[ValidationError]===(some_second_instance)=== + + BOOM + ----------------------------- + """, + ) + + def test_custom_error_format(self): + first_instance = 12 + first_errors = [ + ValidationError("An error", instance=first_instance), + ValidationError("Another error", instance=first_instance), + ] + second_instance = "foo" + second_errors = [ValidationError("BOOM", instance=second_instance)] + + self.assertOutputs( + files=dict( + some_schema='{"does not": "matter since it is stubbed"}', + some_first_instance=json.dumps(first_instance), + some_second_instance=json.dumps(second_instance), + ), + validator=fake_validator(first_errors, second_errors), + + argv=[ + "--error-format", ":{error.message}._-_.{error.instance}:", + "-i", "some_first_instance", + "-i", "some_second_instance", + "some_schema", + ], + + exit_code=1, + stderr=":An error._-_.12::Another error._-_.12::BOOM._-_.foo:", + ) + + def test_invalid_schema(self): + self.assertOutputs( + files=dict(some_schema='{"type": 12}'), + argv=["some_schema"], + + exit_code=1, + stderr="""\ + 12: 12 is not valid under any of the given schemas + """, + ) + + def test_invalid_schema_pretty_output(self): + schema = {"type": 12} + + with self.assertRaises(SchemaError) as e: + validate(schema=schema, instance="") + error = str(e.exception) + + self.assertOutputs( + files=dict(some_schema=json.dumps(schema)), + argv=["--output", "pretty", "some_schema"], + + exit_code=1, + stderr=( + "===[SchemaError]===(some_schema)===\n\n" + + str(error) + + "\n-----------------------------\n" + ), + ) + + def test_invalid_schema_multiple_errors(self): + self.assertOutputs( + files=dict(some_schema='{"type": 12, "items": 57}'), + argv=["some_schema"], + + exit_code=1, + stderr="""\ + 57: 57 is not of type 'object', 'boolean' + """, + ) + + def test_invalid_schema_multiple_errors_pretty_output(self): + schema = {"type": 12, "items": 57} + + with self.assertRaises(SchemaError) as e: + validate(schema=schema, instance="") + error = str(e.exception) + + self.assertOutputs( + files=dict(some_schema=json.dumps(schema)), + argv=["--output", "pretty", "some_schema"], + + exit_code=1, + stderr=( + "===[SchemaError]===(some_schema)===\n\n" + + str(error) + + "\n-----------------------------\n" + ), + ) + + def test_invalid_schema_with_invalid_instance(self): + """ + "Validating" an instance that's invalid under an invalid schema + just shows the schema error. + """ + self.assertOutputs( + files=dict( + some_schema='{"type": 12, "minimum": 30}', + some_instance="13", + ), + argv=["-i", "some_instance", "some_schema"], + + exit_code=1, + stderr="""\ + 12: 12 is not valid under any of the given schemas + """, + ) + + def test_invalid_schema_with_invalid_instance_pretty_output(self): + instance, schema = 13, {"type": 12, "minimum": 30} + + with self.assertRaises(SchemaError) as e: + validate(schema=schema, instance=instance) + error = str(e.exception) + + self.assertOutputs( + files=dict( + some_schema=json.dumps(schema), + some_instance=json.dumps(instance), + ), + argv=["--output", "pretty", "-i", "some_instance", "some_schema"], + + exit_code=1, + stderr=( + "===[SchemaError]===(some_schema)===\n\n" + + str(error) + + "\n-----------------------------\n" + ), + ) + + def test_invalid_instance_continues_with_the_rest(self): + self.assertOutputs( + files=dict( + some_schema='{"minimum": 30}', + first_instance="not valid JSON!", + second_instance="12", + ), + argv=[ + "-i", "first_instance", + "-i", "second_instance", + "some_schema", + ], + + exit_code=1, + stderr="""\ + Failed to parse 'first_instance': {} + 12: 12 is less than the minimum of 30 + """.format(_message_for("not valid JSON!")), + ) + + def test_custom_error_format_applies_to_schema_errors(self): + instance, schema = 13, {"type": 12, "minimum": 30} + + with self.assertRaises(SchemaError): + validate(schema=schema, instance=instance) + + self.assertOutputs( + files=dict(some_schema=json.dumps(schema)), + + argv=[ + "--error-format", ":{error.message}._-_.{error.instance}:", + "some_schema", + ], + + exit_code=1, + stderr=":12 is not valid under any of the given schemas._-_.12:", + ) + + def test_instance_is_invalid_JSON(self): + instance = "not valid JSON!" + + self.assertOutputs( + files=dict(some_schema="{}", some_instance=instance), + argv=["-i", "some_instance", "some_schema"], + + exit_code=1, + stderr=f"""\ + Failed to parse 'some_instance': {_message_for(instance)} + """, + ) + + def test_instance_is_invalid_JSON_pretty_output(self): + stdout, stderr = self.run_cli( + files=dict( + some_schema="{}", + some_instance="not valid JSON!", + ), + + argv=["--output", "pretty", "-i", "some_instance", "some_schema"], + + exit_code=1, + ) + self.assertFalse(stdout) + self.assertIn( + "(some_instance)===\n\nTraceback (most recent call last):\n", + stderr, + ) + self.assertNotIn("some_schema", stderr) + + def test_instance_is_invalid_JSON_on_stdin(self): + instance = "not valid JSON!" + + self.assertOutputs( + files=dict(some_schema="{}"), + stdin=StringIO(instance), + + argv=["some_schema"], + + exit_code=1, + stderr=f"""\ + Failed to parse : {_message_for(instance)} + """, + ) + + def test_instance_is_invalid_JSON_on_stdin_pretty_output(self): + stdout, stderr = self.run_cli( + files=dict(some_schema="{}"), + stdin=StringIO("not valid JSON!"), + + argv=["--output", "pretty", "some_schema"], + + exit_code=1, + ) + self.assertFalse(stdout) + self.assertIn( + "()===\n\nTraceback (most recent call last):\n", + stderr, + ) + self.assertNotIn("some_schema", stderr) + + def test_schema_is_invalid_JSON(self): + schema = "not valid JSON!" + + self.assertOutputs( + files=dict(some_schema=schema), + + argv=["some_schema"], + + exit_code=1, + stderr=f"""\ + Failed to parse 'some_schema': {_message_for(schema)} + """, + ) + + def test_schema_is_invalid_JSON_pretty_output(self): + stdout, stderr = self.run_cli( + files=dict(some_schema="not valid JSON!"), + + argv=["--output", "pretty", "some_schema"], + + exit_code=1, + ) + self.assertFalse(stdout) + self.assertIn( + "(some_schema)===\n\nTraceback (most recent call last):\n", + stderr, + ) + + def test_schema_and_instance_are_both_invalid_JSON(self): + """ + Only the schema error is reported, as we abort immediately. + """ + schema, instance = "not valid JSON!", "also not valid JSON!" + self.assertOutputs( + files=dict(some_schema=schema, some_instance=instance), + + argv=["some_schema"], + + exit_code=1, + stderr=f"""\ + Failed to parse 'some_schema': {_message_for(schema)} + """, + ) + + def test_schema_and_instance_are_both_invalid_JSON_pretty_output(self): + """ + Only the schema error is reported, as we abort immediately. + """ + stdout, stderr = self.run_cli( + files=dict( + some_schema="not valid JSON!", + some_instance="also not valid JSON!", + ), + + argv=["--output", "pretty", "-i", "some_instance", "some_schema"], + + exit_code=1, + ) + self.assertFalse(stdout) + self.assertIn( + "(some_schema)===\n\nTraceback (most recent call last):\n", + stderr, + ) + self.assertNotIn("some_instance", stderr) + + def test_instance_does_not_exist(self): + self.assertOutputs( + files=dict(some_schema="{}"), + argv=["-i", "nonexisting_instance", "some_schema"], + + exit_code=1, + stderr="""\ + 'nonexisting_instance' does not exist. + """, + ) + + def test_instance_does_not_exist_pretty_output(self): + self.assertOutputs( + files=dict(some_schema="{}"), + argv=[ + "--output", "pretty", + "-i", "nonexisting_instance", + "some_schema", + ], + + exit_code=1, + stderr="""\ + ===[FileNotFoundError]===(nonexisting_instance)=== + + 'nonexisting_instance' does not exist. + ----------------------------- + """, + ) + + def test_schema_does_not_exist(self): + self.assertOutputs( + argv=["nonexisting_schema"], + + exit_code=1, + stderr="'nonexisting_schema' does not exist.\n", + ) + + def test_schema_does_not_exist_pretty_output(self): + self.assertOutputs( + argv=["--output", "pretty", "nonexisting_schema"], + + exit_code=1, + stderr="""\ + ===[FileNotFoundError]===(nonexisting_schema)=== + + 'nonexisting_schema' does not exist. + ----------------------------- + """, + ) + + def test_neither_instance_nor_schema_exist(self): + self.assertOutputs( + argv=["-i", "nonexisting_instance", "nonexisting_schema"], + + exit_code=1, + stderr="'nonexisting_schema' does not exist.\n", + ) + + def test_neither_instance_nor_schema_exist_pretty_output(self): + self.assertOutputs( + argv=[ + "--output", "pretty", + "-i", "nonexisting_instance", + "nonexisting_schema", + ], + + exit_code=1, + stderr="""\ + ===[FileNotFoundError]===(nonexisting_schema)=== + + 'nonexisting_schema' does not exist. + ----------------------------- + """, + ) + + def test_successful_validation(self): + self.assertOutputs( + files=dict(some_schema="{}", some_instance="{}"), + argv=["-i", "some_instance", "some_schema"], + stdout="", + stderr="", + ) + + def test_successful_validation_pretty_output(self): + self.assertOutputs( + files=dict(some_schema="{}", some_instance="{}"), + argv=["--output", "pretty", "-i", "some_instance", "some_schema"], + stdout="===[SUCCESS]===(some_instance)===\n", + stderr="", + ) + + def test_successful_validation_of_stdin(self): + self.assertOutputs( + files=dict(some_schema="{}"), + stdin=StringIO("{}"), + argv=["some_schema"], + stdout="", + stderr="", + ) + + def test_successful_validation_of_stdin_pretty_output(self): + self.assertOutputs( + files=dict(some_schema="{}"), + stdin=StringIO("{}"), + argv=["--output", "pretty", "some_schema"], + stdout="===[SUCCESS]===()===\n", + stderr="", + ) + + def test_successful_validation_of_just_the_schema(self): + self.assertOutputs( + files=dict(some_schema="{}", some_instance="{}"), + argv=["-i", "some_instance", "some_schema"], + stdout="", + stderr="", + ) + + def test_successful_validation_of_just_the_schema_pretty_output(self): + self.assertOutputs( + files=dict(some_schema="{}", some_instance="{}"), + argv=["--output", "pretty", "-i", "some_instance", "some_schema"], + stdout="===[SUCCESS]===(some_instance)===\n", + stderr="", + ) + + def test_successful_validation_via_explicit_base_uri(self): + ref_schema_file = tempfile.NamedTemporaryFile(delete=False) + ref_schema_file.close() + self.addCleanup(os.remove, ref_schema_file.name) + + ref_path = Path(ref_schema_file.name) + ref_path.write_text('{"definitions": {"num": {"type": "integer"}}}') + + schema = f'{{"$ref": "{ref_path.name}#/definitions/num"}}' + + self.assertOutputs( + files=dict(some_schema=schema, some_instance="1"), + argv=[ + "-i", "some_instance", + "--base-uri", ref_path.parent.as_uri() + "/", + "some_schema", + ], + stdout="", + stderr="", + ) + + def test_unsuccessful_validation_via_explicit_base_uri(self): + ref_schema_file = tempfile.NamedTemporaryFile(delete=False) + ref_schema_file.close() + self.addCleanup(os.remove, ref_schema_file.name) + + ref_path = Path(ref_schema_file.name) + ref_path.write_text('{"definitions": {"num": {"type": "integer"}}}') + + schema = f'{{"$ref": "{ref_path.name}#/definitions/num"}}' + + self.assertOutputs( + files=dict(some_schema=schema, some_instance='"1"'), + argv=[ + "-i", "some_instance", + "--base-uri", ref_path.parent.as_uri() + "/", + "some_schema", + ], + exit_code=1, + stdout="", + stderr="1: '1' is not of type 'integer'\n", + ) + + def test_nonexistent_file_with_explicit_base_uri(self): + schema = '{"$ref": "someNonexistentFile.json#definitions/num"}' + instance = "1" + + with self.assertRaises(_RefResolutionError) as e: + self.assertOutputs( + files=dict( + some_schema=schema, + some_instance=instance, + ), + argv=[ + "-i", "some_instance", + "--base-uri", Path.cwd().as_uri(), + "some_schema", + ], + ) + error = str(e.exception) + self.assertIn(f"{os.sep}someNonexistentFile.json'", error) + + def test_invalid_explicit_base_uri(self): + schema = '{"$ref": "foo.json#definitions/num"}' + instance = "1" + + with self.assertRaises(_RefResolutionError) as e: + self.assertOutputs( + files=dict( + some_schema=schema, + some_instance=instance, + ), + argv=[ + "-i", "some_instance", + "--base-uri", "not@UR1", + "some_schema", + ], + ) + error = str(e.exception) + self.assertEqual( + error, "unknown url type: 'foo.json'", + ) + + def test_it_validates_using_the_latest_validator_when_unspecified(self): + # There isn't a better way now I can think of to ensure that the + # latest version was used, given that the call to validator_for + # is hidden inside the CLI, so guard that that's the case, and + # this test will have to be updated when versions change until + # we can think of a better way to ensure this behavior. + self.assertIs(Draft202012Validator, _LATEST_VERSION) + + self.assertOutputs( + files=dict(some_schema='{"const": "check"}', some_instance='"a"'), + argv=["-i", "some_instance", "some_schema"], + exit_code=1, + stdout="", + stderr="a: 'check' was expected\n", + ) + + def test_it_validates_using_draft7_when_specified(self): + """ + Specifically, `const` validation applies for Draft 7. + """ + schema = """ + { + "$schema": "http://json-schema.org/draft-07/schema#", + "const": "check" + } + """ + instance = '"foo"' + self.assertOutputs( + files=dict(some_schema=schema, some_instance=instance), + argv=["-i", "some_instance", "some_schema"], + exit_code=1, + stdout="", + stderr="foo: 'check' was expected\n", + ) + + def test_it_validates_using_draft4_when_specified(self): + """ + Specifically, `const` validation *does not* apply for Draft 4. + """ + schema = """ + { + "$schema": "http://json-schema.org/draft-04/schema#", + "const": "check" + } + """ + instance = '"foo"' + self.assertOutputs( + files=dict(some_schema=schema, some_instance=instance), + argv=["-i", "some_instance", "some_schema"], + stdout="", + stderr="", + ) + + +class TestParser(TestCase): + + FakeValidator = fake_validator() + + def test_find_validator_by_fully_qualified_object_name(self): + arguments = cli.parse_args( + [ + "--validator", + "jsonschema.tests.test_cli.TestParser.FakeValidator", + "--instance", "mem://some/instance", + "mem://some/schema", + ], + ) + self.assertIs(arguments["validator"], self.FakeValidator) + + def test_find_validator_in_jsonschema(self): + arguments = cli.parse_args( + [ + "--validator", "Draft4Validator", + "--instance", "mem://some/instance", + "mem://some/schema", + ], + ) + self.assertIs(arguments["validator"], Draft4Validator) + + def cli_output_for(self, *argv): + stdout, stderr = StringIO(), StringIO() + with redirect_stdout(stdout), redirect_stderr(stderr): + with self.assertRaises(SystemExit): + cli.parse_args(argv) + return stdout.getvalue(), stderr.getvalue() + + def test_unknown_output(self): + stdout, stderr = self.cli_output_for( + "--output", "foo", + "mem://some/schema", + ) + self.assertIn("invalid choice: 'foo'", stderr) + self.assertFalse(stdout) + + def test_useless_error_format(self): + stdout, stderr = self.cli_output_for( + "--output", "pretty", + "--error-format", "foo", + "mem://some/schema", + ) + self.assertIn( + "--error-format can only be used with --output plain", + stderr, + ) + self.assertFalse(stdout) + + +class TestCLIIntegration(TestCase): + def test_license(self): + output = subprocess.check_output( + [sys.executable, "-m", "pip", "show", "jsonschema"], + stderr=subprocess.STDOUT, + ) + self.assertIn(b"License: MIT", output) + + def test_version(self): + version = subprocess.check_output( + [sys.executable, "-W", "ignore", "-m", "jsonschema", "--version"], + stderr=subprocess.STDOUT, + ) + version = version.decode("utf-8").strip() + self.assertEqual(version, metadata.version("jsonschema")) + + def test_no_arguments_shows_usage_notes(self): + output = subprocess.check_output( + [sys.executable, "-m", "jsonschema"], + stderr=subprocess.STDOUT, + ) + output_for_help = subprocess.check_output( + [sys.executable, "-m", "jsonschema", "--help"], + stderr=subprocess.STDOUT, + ) + self.assertEqual(output, output_for_help) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_deprecations.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_deprecations.py new file mode 100644 index 0000000000000000000000000000000000000000..6e69785a64cb694b5deec217c3dccd82ed06cfe7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_deprecations.py @@ -0,0 +1,431 @@ +from contextlib import contextmanager +from io import BytesIO +from unittest import TestCase, mock +import importlib.metadata +import json +import subprocess +import sys +import urllib.request + +import referencing.exceptions + +from jsonschema import FormatChecker, exceptions, protocols, validators + + +class TestDeprecations(TestCase): + def test_version(self): + """ + As of v4.0.0, __version__ is deprecated in favor of importlib.metadata. + """ + + message = "Accessing jsonschema.__version__ is deprecated" + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import __version__ + + self.assertEqual(__version__, importlib.metadata.version("jsonschema")) + self.assertEqual(w.filename, __file__) + + def test_validators_ErrorTree(self): + """ + As of v4.0.0, importing ErrorTree from jsonschema.validators is + deprecated in favor of doing so from jsonschema.exceptions. + """ + + message = "Importing ErrorTree from jsonschema.validators is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema.validators import ErrorTree + + self.assertEqual(ErrorTree, exceptions.ErrorTree) + self.assertEqual(w.filename, __file__) + + def test_import_ErrorTree(self): + """ + As of v4.18.0, importing ErrorTree from the package root is + deprecated in favor of doing so from jsonschema.exceptions. + """ + + message = "Importing ErrorTree directly from the jsonschema package " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import ErrorTree + + self.assertEqual(ErrorTree, exceptions.ErrorTree) + self.assertEqual(w.filename, __file__) + + def test_ErrorTree_setitem(self): + """ + As of v4.20.0, setting items on an ErrorTree is deprecated. + """ + + e = exceptions.ValidationError("some error", path=["foo"]) + tree = exceptions.ErrorTree() + subtree = exceptions.ErrorTree(errors=[e]) + + message = "ErrorTree.__setitem__ is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + tree["foo"] = subtree + + self.assertEqual(tree["foo"], subtree) + self.assertEqual(w.filename, __file__) + + def test_import_FormatError(self): + """ + As of v4.18.0, importing FormatError from the package root is + deprecated in favor of doing so from jsonschema.exceptions. + """ + + message = "Importing FormatError directly from the jsonschema package " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import FormatError + + self.assertEqual(FormatError, exceptions.FormatError) + self.assertEqual(w.filename, __file__) + + def test_import_Validator(self): + """ + As of v4.19.0, importing Validator from the package root is + deprecated in favor of doing so from jsonschema.protocols. + """ + + message = "Importing Validator directly from the jsonschema package " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import Validator + + self.assertEqual(Validator, protocols.Validator) + self.assertEqual(w.filename, __file__) + + def test_validators_validators(self): + """ + As of v4.0.0, accessing jsonschema.validators.validators is + deprecated. + """ + + message = "Accessing jsonschema.validators.validators is deprecated" + with self.assertWarnsRegex(DeprecationWarning, message) as w: + value = validators.validators + + self.assertEqual(value, validators._VALIDATORS) + self.assertEqual(w.filename, __file__) + + def test_validators_meta_schemas(self): + """ + As of v4.0.0, accessing jsonschema.validators.meta_schemas is + deprecated. + """ + + message = "Accessing jsonschema.validators.meta_schemas is deprecated" + with self.assertWarnsRegex(DeprecationWarning, message) as w: + value = validators.meta_schemas + + self.assertEqual(value, validators._META_SCHEMAS) + self.assertEqual(w.filename, __file__) + + def test_RefResolver_in_scope(self): + """ + As of v4.0.0, RefResolver.in_scope is deprecated. + """ + + resolver = validators._RefResolver.from_schema({}) + message = "jsonschema.RefResolver.in_scope is deprecated " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + with resolver.in_scope("foo"): + pass + + self.assertEqual(w.filename, __file__) + + def test_Validator_is_valid_two_arguments(self): + """ + As of v4.0.0, calling is_valid with two arguments (to provide a + different schema) is deprecated. + """ + + validator = validators.Draft7Validator({}) + message = "Passing a schema to Validator.is_valid is deprecated " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + result = validator.is_valid("foo", {"type": "number"}) + + self.assertFalse(result) + self.assertEqual(w.filename, __file__) + + def test_Validator_iter_errors_two_arguments(self): + """ + As of v4.0.0, calling iter_errors with two arguments (to provide a + different schema) is deprecated. + """ + + validator = validators.Draft7Validator({}) + message = "Passing a schema to Validator.iter_errors is deprecated " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + error, = validator.iter_errors("foo", {"type": "number"}) + + self.assertEqual(error.validator, "type") + self.assertEqual(w.filename, __file__) + + def test_Validator_resolver(self): + """ + As of v4.18.0, accessing Validator.resolver is deprecated. + """ + + validator = validators.Draft7Validator({}) + message = "Accessing Draft7Validator.resolver is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + self.assertIsInstance(validator.resolver, validators._RefResolver) + + self.assertEqual(w.filename, __file__) + + def test_RefResolver(self): + """ + As of v4.18.0, RefResolver is fully deprecated. + """ + + message = "jsonschema.RefResolver is deprecated" + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import RefResolver + self.assertEqual(w.filename, __file__) + + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema.validators import RefResolver # noqa: F401, F811 + self.assertEqual(w.filename, __file__) + + def test_RefResolutionError(self): + """ + As of v4.18.0, RefResolutionError is deprecated in favor of directly + catching errors from the referencing library. + """ + + message = "jsonschema.exceptions.RefResolutionError is deprecated" + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import RefResolutionError + + self.assertEqual(RefResolutionError, exceptions._RefResolutionError) + self.assertEqual(w.filename, __file__) + + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema.exceptions import RefResolutionError + + self.assertEqual(RefResolutionError, exceptions._RefResolutionError) + self.assertEqual(w.filename, __file__) + + def test_catching_Unresolvable_directly(self): + """ + This behavior is the intended behavior (i.e. it's not deprecated), but + given we do "tricksy" things in the iterim to wrap exceptions in a + multiple inheritance subclass, we need to be extra sure it works and + stays working. + """ + validator = validators.Draft202012Validator({"$ref": "urn:nothing"}) + + with self.assertRaises(referencing.exceptions.Unresolvable) as e: + validator.validate(12) + + expected = referencing.exceptions.Unresolvable(ref="urn:nothing") + self.assertEqual( + (e.exception, str(e.exception)), + (expected, "Unresolvable: urn:nothing") + ) + + def test_catching_Unresolvable_via_RefResolutionError(self): + """ + Until RefResolutionError is removed, it is still possible to catch + exceptions from reference resolution using it, even though they may + have been raised by referencing. + """ + with self.assertWarns(DeprecationWarning): + from jsonschema import RefResolutionError + + validator = validators.Draft202012Validator({"$ref": "urn:nothing"}) + + with self.assertRaises(referencing.exceptions.Unresolvable) as u: + validator.validate(12) + + with self.assertRaises(RefResolutionError) as e: + validator.validate(12) + + self.assertEqual( + (e.exception, str(e.exception)), + (u.exception, "Unresolvable: urn:nothing") + ) + + def test_WrappedReferencingError_hashability(self): + """ + Ensure the wrapped referencing errors are hashable when possible. + """ + with self.assertWarns(DeprecationWarning): + from jsonschema import RefResolutionError + + validator = validators.Draft202012Validator({"$ref": "urn:nothing"}) + + with self.assertRaises(referencing.exceptions.Unresolvable) as u: + validator.validate(12) + + with self.assertRaises(RefResolutionError) as e: + validator.validate(12) + + self.assertIn(e.exception, {u.exception}) + self.assertIn(u.exception, {e.exception}) + + def test_Validator_subclassing(self): + """ + As of v4.12.0, subclassing a validator class produces an explicit + deprecation warning. + + This was never intended to be public API (and some comments over the + years in issues said so, but obviously that's not a great way to make + sure it's followed). + + A future version will explicitly raise an error. + """ + + message = "Subclassing validator classes is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + class Subclass(validators.Draft202012Validator): + pass + + self.assertEqual(w.filename, __file__) + + with self.assertWarnsRegex(DeprecationWarning, message) as w: + class AnotherSubclass(validators.create(meta_schema={})): + pass + + def test_FormatChecker_cls_checks(self): + """ + As of v4.14.0, FormatChecker.cls_checks is deprecated without + replacement. + """ + + self.addCleanup(FormatChecker.checkers.pop, "boom", None) + + message = "FormatChecker.cls_checks " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + FormatChecker.cls_checks("boom") + + self.assertEqual(w.filename, __file__) + + def test_draftN_format_checker(self): + """ + As of v4.16.0, accessing jsonschema.draftn_format_checker is deprecated + in favor of Validator.FORMAT_CHECKER. + """ + + message = "Accessing jsonschema.draft202012_format_checker is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import draft202012_format_checker + + self.assertIs( + draft202012_format_checker, + validators.Draft202012Validator.FORMAT_CHECKER, + ) + self.assertEqual(w.filename, __file__) + + message = "Accessing jsonschema.draft201909_format_checker is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import draft201909_format_checker + + self.assertIs( + draft201909_format_checker, + validators.Draft201909Validator.FORMAT_CHECKER, + ) + self.assertEqual(w.filename, __file__) + + message = "Accessing jsonschema.draft7_format_checker is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import draft7_format_checker + + self.assertIs( + draft7_format_checker, + validators.Draft7Validator.FORMAT_CHECKER, + ) + self.assertEqual(w.filename, __file__) + + message = "Accessing jsonschema.draft6_format_checker is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import draft6_format_checker + + self.assertIs( + draft6_format_checker, + validators.Draft6Validator.FORMAT_CHECKER, + ) + self.assertEqual(w.filename, __file__) + + message = "Accessing jsonschema.draft4_format_checker is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import draft4_format_checker + + self.assertIs( + draft4_format_checker, + validators.Draft4Validator.FORMAT_CHECKER, + ) + self.assertEqual(w.filename, __file__) + + message = "Accessing jsonschema.draft3_format_checker is " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + from jsonschema import draft3_format_checker + + self.assertIs( + draft3_format_checker, + validators.Draft3Validator.FORMAT_CHECKER, + ) + self.assertEqual(w.filename, __file__) + + with self.assertRaises(ImportError): + from jsonschema import draft1234_format_checker # noqa + + def test_import_cli(self): + """ + As of v4.17.0, importing jsonschema.cli is deprecated. + """ + + message = "The jsonschema CLI is deprecated and will be removed " + with self.assertWarnsRegex(DeprecationWarning, message) as w: + import jsonschema.cli + importlib.reload(jsonschema.cli) + + self.assertEqual(w.filename, importlib.__file__) + + def test_cli(self): + """ + As of v4.17.0, the jsonschema CLI is deprecated. + """ + + process = subprocess.run( + [sys.executable, "-m", "jsonschema"], + capture_output=True, + ) + self.assertIn(b"The jsonschema CLI is deprecated ", process.stderr) + + def test_automatic_remote_retrieval(self): + """ + Automatic retrieval of remote references is deprecated as of v4.18.0. + """ + ref = "http://bar#/$defs/baz" + schema = {"$defs": {"baz": {"type": "integer"}}} + + if "requests" in sys.modules: # pragma: no cover + self.addCleanup( + sys.modules.__setitem__, "requests", sys.modules["requests"], + ) + sys.modules["requests"] = None + + @contextmanager + def fake_urlopen(request): + self.assertIsInstance(request, urllib.request.Request) + self.assertEqual(request.full_url, "http://bar") + + # Ha ha urllib.request.Request "normalizes" header names and + # Request.get_header does not also normalize them... + (header, value), = request.header_items() + self.assertEqual(header.lower(), "user-agent") + self.assertEqual( + value, "python-jsonschema (deprecated $ref resolution)", + ) + yield BytesIO(json.dumps(schema).encode("utf8")) + + validator = validators.Draft202012Validator({"$ref": ref}) + + message = "Automatically retrieving remote references " + patch = mock.patch.object(urllib.request, "urlopen", new=fake_urlopen) + + with patch, self.assertWarnsRegex(DeprecationWarning, message): + self.assertEqual( + (validator.is_valid({}), validator.is_valid(37)), + (False, True), + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..cb9a598b0f61f198daebc1a908c1ab8eeaba7c87 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_exceptions.py @@ -0,0 +1,617 @@ +from unittest import TestCase +import textwrap + +from jsonschema import exceptions +from jsonschema.validators import _LATEST_VERSION + + +class TestBestMatch(TestCase): + def best_match_of(self, instance, schema): + errors = list(_LATEST_VERSION(schema).iter_errors(instance)) + best = exceptions.best_match(iter(errors)) + reversed_best = exceptions.best_match(reversed(errors)) + self.assertEqual( + best._contents(), + reversed_best._contents(), + f"No consistent best match!\nGot: {best}\n\nThen: {reversed_best}", + ) + return best + + def test_shallower_errors_are_better_matches(self): + schema = { + "properties": { + "foo": { + "minProperties": 2, + "properties": {"bar": {"type": "object"}}, + }, + }, + } + best = self.best_match_of(instance={"foo": {"bar": []}}, schema=schema) + self.assertEqual(best.validator, "minProperties") + + def test_oneOf_and_anyOf_are_weak_matches(self): + """ + A property you *must* match is probably better than one you have to + match a part of. + """ + + schema = { + "minProperties": 2, + "anyOf": [{"type": "string"}, {"type": "number"}], + "oneOf": [{"type": "string"}, {"type": "number"}], + } + best = self.best_match_of(instance={}, schema=schema) + self.assertEqual(best.validator, "minProperties") + + def test_if_the_most_relevant_error_is_anyOf_it_is_traversed(self): + """ + If the most relevant error is an anyOf, then we traverse its context + and select the otherwise *least* relevant error, since in this case + that means the most specific, deep, error inside the instance. + + I.e. since only one of the schemas must match, we look for the most + relevant one. + """ + + schema = { + "properties": { + "foo": { + "anyOf": [ + {"type": "string"}, + {"properties": {"bar": {"type": "array"}}}, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": {"bar": 12}}, schema=schema) + self.assertEqual(best.validator_value, "array") + + def test_no_anyOf_traversal_for_equally_relevant_errors(self): + """ + We don't traverse into an anyOf (as above) if all of its context errors + seem to be equally "wrong" against the instance. + """ + + schema = { + "anyOf": [ + {"type": "string"}, + {"type": "integer"}, + {"type": "object"}, + ], + } + best = self.best_match_of(instance=[], schema=schema) + self.assertEqual(best.validator, "anyOf") + + def test_anyOf_traversal_for_single_equally_relevant_error(self): + """ + We *do* traverse anyOf with a single nested error, even though it is + vacuously equally relevant to itself. + """ + + schema = { + "anyOf": [ + {"type": "string"}, + ], + } + best = self.best_match_of(instance=[], schema=schema) + self.assertEqual(best.validator, "type") + + def test_if_the_most_relevant_error_is_oneOf_it_is_traversed(self): + """ + If the most relevant error is an oneOf, then we traverse its context + and select the otherwise *least* relevant error, since in this case + that means the most specific, deep, error inside the instance. + + I.e. since only one of the schemas must match, we look for the most + relevant one. + """ + + schema = { + "properties": { + "foo": { + "oneOf": [ + {"type": "string"}, + {"properties": {"bar": {"type": "array"}}}, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": {"bar": 12}}, schema=schema) + self.assertEqual(best.validator_value, "array") + + def test_no_oneOf_traversal_for_equally_relevant_errors(self): + """ + We don't traverse into an oneOf (as above) if all of its context errors + seem to be equally "wrong" against the instance. + """ + + schema = { + "oneOf": [ + {"type": "string"}, + {"type": "integer"}, + {"type": "object"}, + ], + } + best = self.best_match_of(instance=[], schema=schema) + self.assertEqual(best.validator, "oneOf") + + def test_oneOf_traversal_for_single_equally_relevant_error(self): + """ + We *do* traverse oneOf with a single nested error, even though it is + vacuously equally relevant to itself. + """ + + schema = { + "oneOf": [ + {"type": "string"}, + ], + } + best = self.best_match_of(instance=[], schema=schema) + self.assertEqual(best.validator, "type") + + def test_if_the_most_relevant_error_is_allOf_it_is_traversed(self): + """ + Now, if the error is allOf, we traverse but select the *most* relevant + error from the context, because all schemas here must match anyways. + """ + + schema = { + "properties": { + "foo": { + "allOf": [ + {"type": "string"}, + {"properties": {"bar": {"type": "array"}}}, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": {"bar": 12}}, schema=schema) + self.assertEqual(best.validator_value, "string") + + def test_nested_context_for_oneOf(self): + """ + We traverse into nested contexts (a oneOf containing an error in a + nested oneOf here). + """ + + schema = { + "properties": { + "foo": { + "oneOf": [ + {"type": "string"}, + { + "oneOf": [ + {"type": "string"}, + { + "properties": { + "bar": {"type": "array"}, + }, + }, + ], + }, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": {"bar": 12}}, schema=schema) + self.assertEqual(best.validator_value, "array") + + def test_it_prioritizes_matching_types(self): + schema = { + "properties": { + "foo": { + "anyOf": [ + {"type": "array", "minItems": 2}, + {"type": "string", "minLength": 10}, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": "bar"}, schema=schema) + self.assertEqual(best.validator, "minLength") + + reordered = { + "properties": { + "foo": { + "anyOf": [ + {"type": "string", "minLength": 10}, + {"type": "array", "minItems": 2}, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": "bar"}, schema=reordered) + self.assertEqual(best.validator, "minLength") + + def test_it_prioritizes_matching_union_types(self): + schema = { + "properties": { + "foo": { + "anyOf": [ + {"type": ["array", "object"], "minItems": 2}, + {"type": ["integer", "string"], "minLength": 10}, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": "bar"}, schema=schema) + self.assertEqual(best.validator, "minLength") + + reordered = { + "properties": { + "foo": { + "anyOf": [ + {"type": "string", "minLength": 10}, + {"type": "array", "minItems": 2}, + ], + }, + }, + } + best = self.best_match_of(instance={"foo": "bar"}, schema=reordered) + self.assertEqual(best.validator, "minLength") + + def test_boolean_schemas(self): + schema = {"properties": {"foo": False}} + best = self.best_match_of(instance={"foo": "bar"}, schema=schema) + self.assertIsNone(best.validator) + + def test_one_error(self): + validator = _LATEST_VERSION({"minProperties": 2}) + error, = validator.iter_errors({}) + self.assertEqual( + exceptions.best_match(validator.iter_errors({})).validator, + "minProperties", + ) + + def test_no_errors(self): + validator = _LATEST_VERSION({}) + self.assertIsNone(exceptions.best_match(validator.iter_errors({}))) + + +class TestByRelevance(TestCase): + def test_short_paths_are_better_matches(self): + shallow = exceptions.ValidationError("Oh no!", path=["baz"]) + deep = exceptions.ValidationError("Oh yes!", path=["foo", "bar"]) + match = max([shallow, deep], key=exceptions.relevance) + self.assertIs(match, shallow) + + match = max([deep, shallow], key=exceptions.relevance) + self.assertIs(match, shallow) + + def test_global_errors_are_even_better_matches(self): + shallow = exceptions.ValidationError("Oh no!", path=[]) + deep = exceptions.ValidationError("Oh yes!", path=["foo"]) + + errors = sorted([shallow, deep], key=exceptions.relevance) + self.assertEqual( + [list(error.path) for error in errors], + [["foo"], []], + ) + + errors = sorted([deep, shallow], key=exceptions.relevance) + self.assertEqual( + [list(error.path) for error in errors], + [["foo"], []], + ) + + def test_weak_keywords_are_lower_priority(self): + weak = exceptions.ValidationError("Oh no!", path=[], validator="a") + normal = exceptions.ValidationError("Oh yes!", path=[], validator="b") + + best_match = exceptions.by_relevance(weak="a") + + match = max([weak, normal], key=best_match) + self.assertIs(match, normal) + + match = max([normal, weak], key=best_match) + self.assertIs(match, normal) + + def test_strong_keywords_are_higher_priority(self): + weak = exceptions.ValidationError("Oh no!", path=[], validator="a") + normal = exceptions.ValidationError("Oh yes!", path=[], validator="b") + strong = exceptions.ValidationError("Oh fine!", path=[], validator="c") + + best_match = exceptions.by_relevance(weak="a", strong="c") + + match = max([weak, normal, strong], key=best_match) + self.assertIs(match, strong) + + match = max([strong, normal, weak], key=best_match) + self.assertIs(match, strong) + + +class TestErrorTree(TestCase): + def test_it_knows_how_many_total_errors_it_contains(self): + # FIXME: #442 + errors = [ + exceptions.ValidationError("Something", validator=i) + for i in range(8) + ] + tree = exceptions.ErrorTree(errors) + self.assertEqual(tree.total_errors, 8) + + def test_it_contains_an_item_if_the_item_had_an_error(self): + errors = [exceptions.ValidationError("a message", path=["bar"])] + tree = exceptions.ErrorTree(errors) + self.assertIn("bar", tree) + + def test_it_does_not_contain_an_item_if_the_item_had_no_error(self): + errors = [exceptions.ValidationError("a message", path=["bar"])] + tree = exceptions.ErrorTree(errors) + self.assertNotIn("foo", tree) + + def test_keywords_that_failed_appear_in_errors_dict(self): + error = exceptions.ValidationError("a message", validator="foo") + tree = exceptions.ErrorTree([error]) + self.assertEqual(tree.errors, {"foo": error}) + + def test_it_creates_a_child_tree_for_each_nested_path(self): + errors = [ + exceptions.ValidationError("a bar message", path=["bar"]), + exceptions.ValidationError("a bar -> 0 message", path=["bar", 0]), + ] + tree = exceptions.ErrorTree(errors) + self.assertIn(0, tree["bar"]) + self.assertNotIn(1, tree["bar"]) + + def test_children_have_their_errors_dicts_built(self): + e1, e2 = ( + exceptions.ValidationError("1", validator="foo", path=["bar", 0]), + exceptions.ValidationError("2", validator="quux", path=["bar", 0]), + ) + tree = exceptions.ErrorTree([e1, e2]) + self.assertEqual(tree["bar"][0].errors, {"foo": e1, "quux": e2}) + + def test_multiple_errors_with_instance(self): + e1, e2 = ( + exceptions.ValidationError( + "1", + validator="foo", + path=["bar", "bar2"], + instance="i1"), + exceptions.ValidationError( + "2", + validator="quux", + path=["foobar", 2], + instance="i2"), + ) + exceptions.ErrorTree([e1, e2]) + + def test_it_does_not_contain_subtrees_that_are_not_in_the_instance(self): + error = exceptions.ValidationError("123", validator="foo", instance=[]) + tree = exceptions.ErrorTree([error]) + + with self.assertRaises(IndexError): + tree[0] + + def test_if_its_in_the_tree_anyhow_it_does_not_raise_an_error(self): + """ + If a keyword refers to a path that isn't in the instance, the + tree still properly returns a subtree for that path. + """ + + error = exceptions.ValidationError( + "a message", validator="foo", instance={}, path=["foo"], + ) + tree = exceptions.ErrorTree([error]) + self.assertIsInstance(tree["foo"], exceptions.ErrorTree) + + def test_iter(self): + e1, e2 = ( + exceptions.ValidationError( + "1", + validator="foo", + path=["bar", "bar2"], + instance="i1"), + exceptions.ValidationError( + "2", + validator="quux", + path=["foobar", 2], + instance="i2"), + ) + tree = exceptions.ErrorTree([e1, e2]) + self.assertEqual(set(tree), {"bar", "foobar"}) + + def test_repr_single(self): + error = exceptions.ValidationError( + "1", + validator="foo", + path=["bar", "bar2"], + instance="i1", + ) + tree = exceptions.ErrorTree([error]) + self.assertEqual(repr(tree), "") + + def test_repr_multiple(self): + e1, e2 = ( + exceptions.ValidationError( + "1", + validator="foo", + path=["bar", "bar2"], + instance="i1"), + exceptions.ValidationError( + "2", + validator="quux", + path=["foobar", 2], + instance="i2"), + ) + tree = exceptions.ErrorTree([e1, e2]) + self.assertEqual(repr(tree), "") + + def test_repr_empty(self): + tree = exceptions.ErrorTree([]) + self.assertEqual(repr(tree), "") + + +class TestErrorInitReprStr(TestCase): + def make_error(self, **kwargs): + defaults = dict( + message="hello", + validator="type", + validator_value="string", + instance=5, + schema={"type": "string"}, + ) + defaults.update(kwargs) + return exceptions.ValidationError(**defaults) + + def assertShows(self, expected, **kwargs): + expected = textwrap.dedent(expected).rstrip("\n") + + error = self.make_error(**kwargs) + message_line, _, rest = str(error).partition("\n") + self.assertEqual(message_line, error.message) + self.assertEqual(rest, expected) + + def test_it_calls_super_and_sets_args(self): + error = self.make_error() + self.assertGreater(len(error.args), 1) + + def test_repr(self): + self.assertEqual( + repr(exceptions.ValidationError(message="Hello!")), + "", + ) + + def test_unset_error(self): + error = exceptions.ValidationError("message") + self.assertEqual(str(error), "message") + + kwargs = { + "validator": "type", + "validator_value": "string", + "instance": 5, + "schema": {"type": "string"}, + } + # Just the message should show if any of the attributes are unset + for attr in kwargs: + k = dict(kwargs) + del k[attr] + error = exceptions.ValidationError("message", **k) + self.assertEqual(str(error), "message") + + def test_empty_paths(self): + self.assertShows( + """ + Failed validating 'type' in schema: + {'type': 'string'} + + On instance: + 5 + """, + path=[], + schema_path=[], + ) + + def test_one_item_paths(self): + self.assertShows( + """ + Failed validating 'type' in schema: + {'type': 'string'} + + On instance[0]: + 5 + """, + path=[0], + schema_path=["items"], + ) + + def test_multiple_item_paths(self): + self.assertShows( + """ + Failed validating 'type' in schema['items'][0]: + {'type': 'string'} + + On instance[0]['a']: + 5 + """, + path=[0, "a"], + schema_path=["items", 0, 1], + ) + + def test_uses_pprint(self): + self.assertShows( + """ + Failed validating 'maxLength' in schema: + {0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9, + 10: 10, + 11: 11, + 12: 12, + 13: 13, + 14: 14, + 15: 15, + 16: 16, + 17: 17, + 18: 18, + 19: 19} + + On instance: + [0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24] + """, + instance=list(range(25)), + schema=dict(zip(range(20), range(20))), + validator="maxLength", + ) + + def test_str_works_with_instances_having_overriden_eq_operator(self): + """ + Check for #164 which rendered exceptions unusable when a + `ValidationError` involved instances with an `__eq__` method + that returned truthy values. + """ + + class DontEQMeBro: + def __eq__(this, other): # pragma: no cover + self.fail("Don't!") + + def __ne__(this, other): # pragma: no cover + self.fail("Don't!") + + instance = DontEQMeBro() + error = exceptions.ValidationError( + "a message", + validator="foo", + instance=instance, + validator_value="some", + schema="schema", + ) + self.assertIn(repr(instance), str(error)) + + +class TestHashable(TestCase): + def test_hashable(self): + set([exceptions.ValidationError("")]) + set([exceptions.SchemaError("")]) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_format.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_format.py new file mode 100644 index 0000000000000000000000000000000000000000..d829f9848f51f882d5a3f9413c80e0dbdcdaf292 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_format.py @@ -0,0 +1,91 @@ +""" +Tests for the parts of jsonschema related to the :kw:`format` keyword. +""" + +from unittest import TestCase + +from jsonschema import FormatChecker, ValidationError +from jsonschema.exceptions import FormatError +from jsonschema.validators import Draft4Validator + +BOOM = ValueError("Boom!") +BANG = ZeroDivisionError("Bang!") + + +def boom(thing): + if thing == "bang": + raise BANG + raise BOOM + + +class TestFormatChecker(TestCase): + def test_it_can_validate_no_formats(self): + checker = FormatChecker(formats=()) + self.assertFalse(checker.checkers) + + def test_it_raises_a_key_error_for_unknown_formats(self): + with self.assertRaises(KeyError): + FormatChecker(formats=["o noes"]) + + def test_it_can_register_cls_checkers(self): + original = dict(FormatChecker.checkers) + self.addCleanup(FormatChecker.checkers.pop, "boom") + with self.assertWarns(DeprecationWarning): + FormatChecker.cls_checks("boom")(boom) + self.assertEqual( + FormatChecker.checkers, + dict(original, boom=(boom, ())), + ) + + def test_it_can_register_checkers(self): + checker = FormatChecker() + checker.checks("boom")(boom) + self.assertEqual( + checker.checkers, + dict(FormatChecker.checkers, boom=(boom, ())), + ) + + def test_it_catches_registered_errors(self): + checker = FormatChecker() + checker.checks("boom", raises=type(BOOM))(boom) + + with self.assertRaises(FormatError) as cm: + checker.check(instance=12, format="boom") + + self.assertIs(cm.exception.cause, BOOM) + self.assertIs(cm.exception.__cause__, BOOM) + self.assertEqual(str(cm.exception), "12 is not a 'boom'") + + # Unregistered errors should not be caught + with self.assertRaises(type(BANG)): + checker.check(instance="bang", format="boom") + + def test_format_error_causes_become_validation_error_causes(self): + checker = FormatChecker() + checker.checks("boom", raises=ValueError)(boom) + validator = Draft4Validator({"format": "boom"}, format_checker=checker) + + with self.assertRaises(ValidationError) as cm: + validator.validate("BOOM") + + self.assertIs(cm.exception.cause, BOOM) + self.assertIs(cm.exception.__cause__, BOOM) + + def test_format_checkers_come_with_defaults(self): + # This is bad :/ but relied upon. + # The docs for quite awhile recommended people do things like + # validate(..., format_checker=FormatChecker()) + # We should change that, but we can't without deprecation... + checker = FormatChecker() + with self.assertRaises(FormatError): + checker.check(instance="not-an-ipv4", format="ipv4") + + def test_repr(self): + checker = FormatChecker(formats=()) + checker.checks("foo")(lambda thing: True) # pragma: no cover + checker.checks("bar")(lambda thing: True) # pragma: no cover + checker.checks("baz")(lambda thing: True) # pragma: no cover + self.assertEqual( + repr(checker), + "", + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_jsonschema_test_suite.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_jsonschema_test_suite.py new file mode 100644 index 0000000000000000000000000000000000000000..9c63714e4ff5d9326ca473c0a47bb0ecc8a98aac --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_jsonschema_test_suite.py @@ -0,0 +1,257 @@ +""" +Test runner for the JSON Schema official test suite + +Tests comprehensive correctness of each draft's validator. + +See https://github.com/json-schema-org/JSON-Schema-Test-Suite for details. +""" + +import sys + +from jsonschema.tests._suite import Suite +import jsonschema + +SUITE = Suite() +DRAFT3 = SUITE.version(name="draft3") +DRAFT4 = SUITE.version(name="draft4") +DRAFT6 = SUITE.version(name="draft6") +DRAFT7 = SUITE.version(name="draft7") +DRAFT201909 = SUITE.version(name="draft2019-09") +DRAFT202012 = SUITE.version(name="draft2020-12") + + +def skip(message, **kwargs): + def skipper(test): + if all(value == getattr(test, attr) for attr, value in kwargs.items()): + return message + return skipper + + +def missing_format(Validator): + def missing_format(test): # pragma: no cover + schema = test.schema + if ( + schema is True + or schema is False + or "format" not in schema + or schema["format"] in Validator.FORMAT_CHECKER.checkers + or test.valid + ): + return + + return f"Format checker {schema['format']!r} not found." + return missing_format + + +def complex_email_validation(test): + if test.subject != "email": + return + + message = "Complex email validation is (intentionally) unsupported." + return skip( + message=message, + description="an invalid domain", + )(test) or skip( + message=message, + description="an invalid IPv4-address-literal", + )(test) or skip( + message=message, + description="dot after local part is not valid", + )(test) or skip( + message=message, + description="dot before local part is not valid", + )(test) or skip( + message=message, + description="two subsequent dots inside local part are not valid", + )(test) + + +if sys.version_info < (3, 9): # pragma: no cover + message = "Rejecting leading zeros is 3.9+" + allowed_leading_zeros = skip( + message=message, + subject="ipv4", + description="invalid leading zeroes, as they are treated as octals", + ) +else: + def allowed_leading_zeros(test): # pragma: no cover + return + + +def leap_second(test): + message = "Leap seconds are unsupported." + return skip( + message=message, + subject="time", + description="a valid time string with leap second", + )(test) or skip( + message=message, + subject="time", + description="a valid time string with leap second, Zulu", + )(test) or skip( + message=message, + subject="time", + description="a valid time string with leap second with offset", + )(test) or skip( + message=message, + subject="time", + description="valid leap second, positive time-offset", + )(test) or skip( + message=message, + subject="time", + description="valid leap second, negative time-offset", + )(test) or skip( + message=message, + subject="time", + description="valid leap second, large positive time-offset", + )(test) or skip( + message=message, + subject="time", + description="valid leap second, large negative time-offset", + )(test) or skip( + message=message, + subject="time", + description="valid leap second, zero time-offset", + )(test) or skip( + message=message, + subject="date-time", + description="a valid date-time with a leap second, UTC", + )(test) or skip( + message=message, + subject="date-time", + description="a valid date-time with a leap second, with minus offset", + )(test) + + +TestDraft3 = DRAFT3.to_unittest_testcase( + DRAFT3.cases(), + DRAFT3.format_cases(), + DRAFT3.optional_cases_of(name="bignum"), + DRAFT3.optional_cases_of(name="non-bmp-regex"), + DRAFT3.optional_cases_of(name="zeroTerminatedFloats"), + Validator=jsonschema.Draft3Validator, + format_checker=jsonschema.Draft3Validator.FORMAT_CHECKER, + skip=lambda test: ( + missing_format(jsonschema.Draft3Validator)(test) + or complex_email_validation(test) + ), +) + + +TestDraft4 = DRAFT4.to_unittest_testcase( + DRAFT4.cases(), + DRAFT4.format_cases(), + DRAFT4.optional_cases_of(name="bignum"), + DRAFT4.optional_cases_of(name="float-overflow"), + DRAFT4.optional_cases_of(name="non-bmp-regex"), + DRAFT4.optional_cases_of(name="zeroTerminatedFloats"), + Validator=jsonschema.Draft4Validator, + format_checker=jsonschema.Draft4Validator.FORMAT_CHECKER, + skip=lambda test: ( + allowed_leading_zeros(test) + or leap_second(test) + or missing_format(jsonschema.Draft4Validator)(test) + or complex_email_validation(test) + ), +) + + +TestDraft6 = DRAFT6.to_unittest_testcase( + DRAFT6.cases(), + DRAFT6.format_cases(), + DRAFT6.optional_cases_of(name="bignum"), + DRAFT6.optional_cases_of(name="float-overflow"), + DRAFT6.optional_cases_of(name="non-bmp-regex"), + Validator=jsonschema.Draft6Validator, + format_checker=jsonschema.Draft6Validator.FORMAT_CHECKER, + skip=lambda test: ( + allowed_leading_zeros(test) + or leap_second(test) + or missing_format(jsonschema.Draft6Validator)(test) + or complex_email_validation(test) + ), +) + + +TestDraft7 = DRAFT7.to_unittest_testcase( + DRAFT7.cases(), + DRAFT7.format_cases(), + DRAFT7.optional_cases_of(name="bignum"), + DRAFT7.optional_cases_of(name="cross-draft"), + DRAFT7.optional_cases_of(name="float-overflow"), + DRAFT7.optional_cases_of(name="non-bmp-regex"), + Validator=jsonschema.Draft7Validator, + format_checker=jsonschema.Draft7Validator.FORMAT_CHECKER, + skip=lambda test: ( + allowed_leading_zeros(test) + or leap_second(test) + or missing_format(jsonschema.Draft7Validator)(test) + or complex_email_validation(test) + ), +) + + +TestDraft201909 = DRAFT201909.to_unittest_testcase( + DRAFT201909.cases(), + DRAFT201909.optional_cases_of(name="bignum"), + DRAFT201909.optional_cases_of(name="cross-draft"), + DRAFT201909.optional_cases_of(name="float-overflow"), + DRAFT201909.optional_cases_of(name="non-bmp-regex"), + DRAFT201909.optional_cases_of(name="refOfUnknownKeyword"), + Validator=jsonschema.Draft201909Validator, + skip=skip( + message="Vocabulary support is still in-progress.", + subject="vocabulary", + description=( + "no validation: invalid number, but it still validates" + ), + ), +) + + +TestDraft201909Format = DRAFT201909.to_unittest_testcase( + DRAFT201909.format_cases(), + name="TestDraft201909Format", + Validator=jsonschema.Draft201909Validator, + format_checker=jsonschema.Draft201909Validator.FORMAT_CHECKER, + skip=lambda test: ( + complex_email_validation(test) + or allowed_leading_zeros(test) + or leap_second(test) + or missing_format(jsonschema.Draft201909Validator)(test) + or complex_email_validation(test) + ), +) + + +TestDraft202012 = DRAFT202012.to_unittest_testcase( + DRAFT202012.cases(), + DRAFT202012.optional_cases_of(name="bignum"), + DRAFT202012.optional_cases_of(name="cross-draft"), + DRAFT202012.optional_cases_of(name="float-overflow"), + DRAFT202012.optional_cases_of(name="non-bmp-regex"), + DRAFT202012.optional_cases_of(name="refOfUnknownKeyword"), + Validator=jsonschema.Draft202012Validator, + skip=skip( + message="Vocabulary support is still in-progress.", + subject="vocabulary", + description=( + "no validation: invalid number, but it still validates" + ), + ), +) + + +TestDraft202012Format = DRAFT202012.to_unittest_testcase( + DRAFT202012.format_cases(), + name="TestDraft202012Format", + Validator=jsonschema.Draft202012Validator, + format_checker=jsonschema.Draft202012Validator.FORMAT_CHECKER, + skip=lambda test: ( + complex_email_validation(test) + or allowed_leading_zeros(test) + or leap_second(test) + or missing_format(jsonschema.Draft202012Validator)(test) + or complex_email_validation(test) + ), +) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_types.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_types.py new file mode 100644 index 0000000000000000000000000000000000000000..bd97b180029ae05d7f3b22f1048f9adcb769f36f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_types.py @@ -0,0 +1,221 @@ +""" +Tests for the `TypeChecker`-based type interface. + +The actual correctness of the type checking is handled in +`test_jsonschema_test_suite`; these tests check that TypeChecker +functions correctly at a more granular level. +""" +from collections import namedtuple +from unittest import TestCase + +from jsonschema import ValidationError, _keywords +from jsonschema._types import TypeChecker +from jsonschema.exceptions import UndefinedTypeCheck, UnknownType +from jsonschema.validators import Draft202012Validator, extend + + +def equals_2(checker, instance): + return instance == 2 + + +def is_namedtuple(instance): + return isinstance(instance, tuple) and getattr(instance, "_fields", None) + + +def is_object_or_named_tuple(checker, instance): + if Draft202012Validator.TYPE_CHECKER.is_type(instance, "object"): + return True + return is_namedtuple(instance) + + +class TestTypeChecker(TestCase): + def test_is_type(self): + checker = TypeChecker({"two": equals_2}) + self.assertEqual( + ( + checker.is_type(instance=2, type="two"), + checker.is_type(instance="bar", type="two"), + ), + (True, False), + ) + + def test_is_unknown_type(self): + with self.assertRaises(UndefinedTypeCheck) as e: + TypeChecker().is_type(4, "foobar") + self.assertIn( + "'foobar' is unknown to this type checker", + str(e.exception), + ) + self.assertTrue( + e.exception.__suppress_context__, + msg="Expected the internal KeyError to be hidden.", + ) + + def test_checks_can_be_added_at_init(self): + checker = TypeChecker({"two": equals_2}) + self.assertEqual(checker, TypeChecker().redefine("two", equals_2)) + + def test_redefine_existing_type(self): + self.assertEqual( + TypeChecker().redefine("two", object()).redefine("two", equals_2), + TypeChecker().redefine("two", equals_2), + ) + + def test_remove(self): + self.assertEqual( + TypeChecker({"two": equals_2}).remove("two"), + TypeChecker(), + ) + + def test_remove_unknown_type(self): + with self.assertRaises(UndefinedTypeCheck) as context: + TypeChecker().remove("foobar") + self.assertIn("foobar", str(context.exception)) + + def test_redefine_many(self): + self.assertEqual( + TypeChecker().redefine_many({"foo": int, "bar": str}), + TypeChecker().redefine("foo", int).redefine("bar", str), + ) + + def test_remove_multiple(self): + self.assertEqual( + TypeChecker({"foo": int, "bar": str}).remove("foo", "bar"), + TypeChecker(), + ) + + def test_type_check_can_raise_key_error(self): + """ + Make sure no one writes: + + try: + self._type_checkers[type](...) + except KeyError: + + ignoring the fact that the function itself can raise that. + """ + + error = KeyError("Stuff") + + def raises_keyerror(checker, instance): + raise error + + with self.assertRaises(KeyError) as context: + TypeChecker({"foo": raises_keyerror}).is_type(4, "foo") + + self.assertIs(context.exception, error) + + def test_repr(self): + checker = TypeChecker({"foo": is_namedtuple, "bar": is_namedtuple}) + self.assertEqual(repr(checker), "") + + +class TestCustomTypes(TestCase): + def test_simple_type_can_be_extended(self): + def int_or_str_int(checker, instance): + if not isinstance(instance, (int, str)): + return False + try: + int(instance) + except ValueError: + return False + return True + + CustomValidator = extend( + Draft202012Validator, + type_checker=Draft202012Validator.TYPE_CHECKER.redefine( + "integer", int_or_str_int, + ), + ) + validator = CustomValidator({"type": "integer"}) + + validator.validate(4) + validator.validate("4") + + with self.assertRaises(ValidationError): + validator.validate(4.4) + + with self.assertRaises(ValidationError): + validator.validate("foo") + + def test_object_can_be_extended(self): + schema = {"type": "object"} + + Point = namedtuple("Point", ["x", "y"]) + + type_checker = Draft202012Validator.TYPE_CHECKER.redefine( + "object", is_object_or_named_tuple, + ) + + CustomValidator = extend( + Draft202012Validator, + type_checker=type_checker, + ) + validator = CustomValidator(schema) + + validator.validate(Point(x=4, y=5)) + + def test_object_extensions_require_custom_validators(self): + schema = {"type": "object", "required": ["x"]} + + type_checker = Draft202012Validator.TYPE_CHECKER.redefine( + "object", is_object_or_named_tuple, + ) + + CustomValidator = extend( + Draft202012Validator, + type_checker=type_checker, + ) + validator = CustomValidator(schema) + + Point = namedtuple("Point", ["x", "y"]) + # Cannot handle required + with self.assertRaises(ValidationError): + validator.validate(Point(x=4, y=5)) + + def test_object_extensions_can_handle_custom_validators(self): + schema = { + "type": "object", + "required": ["x"], + "properties": {"x": {"type": "integer"}}, + } + + type_checker = Draft202012Validator.TYPE_CHECKER.redefine( + "object", is_object_or_named_tuple, + ) + + def coerce_named_tuple(fn): + def coerced(validator, value, instance, schema): + if is_namedtuple(instance): + instance = instance._asdict() + return fn(validator, value, instance, schema) + return coerced + + required = coerce_named_tuple(_keywords.required) + properties = coerce_named_tuple(_keywords.properties) + + CustomValidator = extend( + Draft202012Validator, + type_checker=type_checker, + validators={"required": required, "properties": properties}, + ) + + validator = CustomValidator(schema) + + Point = namedtuple("Point", ["x", "y"]) + # Can now process required and properties + validator.validate(Point(x=4, y=5)) + + with self.assertRaises(ValidationError): + validator.validate(Point(x="not an integer", y=5)) + + # As well as still handle objects. + validator.validate({"x": 4, "y": 5}) + + with self.assertRaises(ValidationError): + validator.validate({"x": "not an integer", "y": 5}) + + def test_unknown_type(self): + with self.assertRaises(UnknownType) as e: + Draft202012Validator({}).is_type(12, "some unknown type") + self.assertIn("'some unknown type'", str(e.exception)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..4e542b9628d2572c3f43da40c46b2a0b13ac7421 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_utils.py @@ -0,0 +1,124 @@ +from unittest import TestCase + +from jsonschema._utils import equal + + +class TestEqual(TestCase): + def test_none(self): + self.assertTrue(equal(None, None)) + + +class TestDictEqual(TestCase): + def test_equal_dictionaries(self): + dict_1 = {"a": "b", "c": "d"} + dict_2 = {"c": "d", "a": "b"} + self.assertTrue(equal(dict_1, dict_2)) + + def test_missing_key(self): + dict_1 = {"a": "b", "c": "d"} + dict_2 = {"c": "d", "x": "b"} + self.assertFalse(equal(dict_1, dict_2)) + + def test_additional_key(self): + dict_1 = {"a": "b", "c": "d"} + dict_2 = {"c": "d", "a": "b", "x": "x"} + self.assertFalse(equal(dict_1, dict_2)) + + def test_missing_value(self): + dict_1 = {"a": "b", "c": "d"} + dict_2 = {"c": "d", "a": "x"} + self.assertFalse(equal(dict_1, dict_2)) + + def test_empty_dictionaries(self): + dict_1 = {} + dict_2 = {} + self.assertTrue(equal(dict_1, dict_2)) + + def test_one_none(self): + dict_1 = None + dict_2 = {"a": "b", "c": "d"} + self.assertFalse(equal(dict_1, dict_2)) + + def test_same_item(self): + dict_1 = {"a": "b", "c": "d"} + self.assertTrue(equal(dict_1, dict_1)) + + def test_nested_equal(self): + dict_1 = {"a": {"a": "b", "c": "d"}, "c": "d"} + dict_2 = {"c": "d", "a": {"a": "b", "c": "d"}} + self.assertTrue(equal(dict_1, dict_2)) + + def test_nested_dict_unequal(self): + dict_1 = {"a": {"a": "b", "c": "d"}, "c": "d"} + dict_2 = {"c": "d", "a": {"a": "b", "c": "x"}} + self.assertFalse(equal(dict_1, dict_2)) + + def test_mixed_nested_equal(self): + dict_1 = {"a": ["a", "b", "c", "d"], "c": "d"} + dict_2 = {"c": "d", "a": ["a", "b", "c", "d"]} + self.assertTrue(equal(dict_1, dict_2)) + + def test_nested_list_unequal(self): + dict_1 = {"a": ["a", "b", "c", "d"], "c": "d"} + dict_2 = {"c": "d", "a": ["b", "c", "d", "a"]} + self.assertFalse(equal(dict_1, dict_2)) + + +class TestListEqual(TestCase): + def test_equal_lists(self): + list_1 = ["a", "b", "c"] + list_2 = ["a", "b", "c"] + self.assertTrue(equal(list_1, list_2)) + + def test_unsorted_lists(self): + list_1 = ["a", "b", "c"] + list_2 = ["b", "b", "a"] + self.assertFalse(equal(list_1, list_2)) + + def test_first_list_larger(self): + list_1 = ["a", "b", "c"] + list_2 = ["a", "b"] + self.assertFalse(equal(list_1, list_2)) + + def test_second_list_larger(self): + list_1 = ["a", "b"] + list_2 = ["a", "b", "c"] + self.assertFalse(equal(list_1, list_2)) + + def test_list_with_none_unequal(self): + list_1 = ["a", "b", None] + list_2 = ["a", "b", "c"] + self.assertFalse(equal(list_1, list_2)) + + list_1 = ["a", "b", None] + list_2 = [None, "b", "c"] + self.assertFalse(equal(list_1, list_2)) + + def test_list_with_none_equal(self): + list_1 = ["a", None, "c"] + list_2 = ["a", None, "c"] + self.assertTrue(equal(list_1, list_2)) + + def test_empty_list(self): + list_1 = [] + list_2 = [] + self.assertTrue(equal(list_1, list_2)) + + def test_one_none(self): + list_1 = None + list_2 = [] + self.assertFalse(equal(list_1, list_2)) + + def test_same_list(self): + list_1 = ["a", "b", "c"] + self.assertTrue(equal(list_1, list_1)) + + def test_equal_nested_lists(self): + list_1 = ["a", ["b", "c"], "d"] + list_2 = ["a", ["b", "c"], "d"] + self.assertTrue(equal(list_1, list_2)) + + def test_unequal_nested_lists(self): + list_1 = ["a", ["b", "c"], "d"] + list_2 = ["a", [], "c"] + self.assertFalse(equal(list_1, list_2)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_validators.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_validators.py new file mode 100644 index 0000000000000000000000000000000000000000..b144a516a90d3735567c1e6cfe17bdff3e52dcd5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/tests/test_validators.py @@ -0,0 +1,2548 @@ +from __future__ import annotations + +from collections import deque, namedtuple +from contextlib import contextmanager +from decimal import Decimal +from io import BytesIO +from typing import Any +from unittest import TestCase, mock +from urllib.request import pathname2url +import json +import os +import sys +import tempfile +import warnings + +from attrs import define, field +from referencing.jsonschema import DRAFT202012 +import referencing.exceptions + +from jsonschema import ( + FormatChecker, + TypeChecker, + exceptions, + protocols, + validators, +) + + +def fail(validator, errors, instance, schema): + for each in errors: + each.setdefault("message", "You told me to fail!") + yield exceptions.ValidationError(**each) + + +class TestCreateAndExtend(TestCase): + def setUp(self): + self.addCleanup( + self.assertEqual, + validators._META_SCHEMAS, + dict(validators._META_SCHEMAS), + ) + self.addCleanup( + self.assertEqual, + validators._VALIDATORS, + dict(validators._VALIDATORS), + ) + + self.meta_schema = {"$id": "some://meta/schema"} + self.validators = {"fail": fail} + self.type_checker = TypeChecker() + self.Validator = validators.create( + meta_schema=self.meta_schema, + validators=self.validators, + type_checker=self.type_checker, + ) + + def test_attrs(self): + self.assertEqual( + ( + self.Validator.VALIDATORS, + self.Validator.META_SCHEMA, + self.Validator.TYPE_CHECKER, + ), ( + self.validators, + self.meta_schema, + self.type_checker, + ), + ) + + def test_init(self): + schema = {"fail": []} + self.assertEqual(self.Validator(schema).schema, schema) + + def test_iter_errors_successful(self): + schema = {"fail": []} + validator = self.Validator(schema) + + errors = list(validator.iter_errors("hello")) + self.assertEqual(errors, []) + + def test_iter_errors_one_error(self): + schema = {"fail": [{"message": "Whoops!"}]} + validator = self.Validator(schema) + + expected_error = exceptions.ValidationError( + "Whoops!", + instance="goodbye", + schema=schema, + validator="fail", + validator_value=[{"message": "Whoops!"}], + schema_path=deque(["fail"]), + ) + + errors = list(validator.iter_errors("goodbye")) + self.assertEqual(len(errors), 1) + self.assertEqual(errors[0]._contents(), expected_error._contents()) + + def test_iter_errors_multiple_errors(self): + schema = { + "fail": [ + {"message": "First"}, + {"message": "Second!", "validator": "asdf"}, + {"message": "Third"}, + ], + } + validator = self.Validator(schema) + + errors = list(validator.iter_errors("goodbye")) + self.assertEqual(len(errors), 3) + + def test_if_a_version_is_provided_it_is_registered(self): + Validator = validators.create( + meta_schema={"$id": "something"}, + version="my version", + ) + self.addCleanup(validators._META_SCHEMAS.pop, "something") + self.addCleanup(validators._VALIDATORS.pop, "my version") + self.assertEqual(Validator.__name__, "MyVersionValidator") + self.assertEqual(Validator.__qualname__, "MyVersionValidator") + + def test_repr(self): + Validator = validators.create( + meta_schema={"$id": "something"}, + version="my version", + ) + self.addCleanup(validators._META_SCHEMAS.pop, "something") + self.addCleanup(validators._VALIDATORS.pop, "my version") + self.assertEqual( + repr(Validator({})), + "MyVersionValidator(schema={}, format_checker=None)", + ) + + def test_long_repr(self): + Validator = validators.create( + meta_schema={"$id": "something"}, + version="my version", + ) + self.addCleanup(validators._META_SCHEMAS.pop, "something") + self.addCleanup(validators._VALIDATORS.pop, "my version") + self.assertEqual( + repr(Validator({"a": list(range(1000))})), ( + "MyVersionValidator(schema={'a': [0, 1, 2, 3, 4, 5, ...]}, " + "format_checker=None)" + ), + ) + + def test_repr_no_version(self): + Validator = validators.create(meta_schema={}) + self.assertEqual( + repr(Validator({})), + "Validator(schema={}, format_checker=None)", + ) + + def test_dashes_are_stripped_from_validator_names(self): + Validator = validators.create( + meta_schema={"$id": "something"}, + version="foo-bar", + ) + self.addCleanup(validators._META_SCHEMAS.pop, "something") + self.addCleanup(validators._VALIDATORS.pop, "foo-bar") + self.assertEqual(Validator.__qualname__, "FooBarValidator") + + def test_if_a_version_is_not_provided_it_is_not_registered(self): + original = dict(validators._META_SCHEMAS) + validators.create(meta_schema={"id": "id"}) + self.assertEqual(validators._META_SCHEMAS, original) + + def test_validates_registers_meta_schema_id(self): + meta_schema_key = "meta schema id" + my_meta_schema = {"id": meta_schema_key} + + validators.create( + meta_schema=my_meta_schema, + version="my version", + id_of=lambda s: s.get("id", ""), + ) + self.addCleanup(validators._META_SCHEMAS.pop, meta_schema_key) + self.addCleanup(validators._VALIDATORS.pop, "my version") + + self.assertIn(meta_schema_key, validators._META_SCHEMAS) + + def test_validates_registers_meta_schema_draft6_id(self): + meta_schema_key = "meta schema $id" + my_meta_schema = {"$id": meta_schema_key} + + validators.create( + meta_schema=my_meta_schema, + version="my version", + ) + self.addCleanup(validators._META_SCHEMAS.pop, meta_schema_key) + self.addCleanup(validators._VALIDATORS.pop, "my version") + + self.assertIn(meta_schema_key, validators._META_SCHEMAS) + + def test_create_default_types(self): + Validator = validators.create(meta_schema={}, validators=()) + self.assertTrue( + all( + Validator({}).is_type(instance=instance, type=type) + for type, instance in [ + ("array", []), + ("boolean", True), + ("integer", 12), + ("null", None), + ("number", 12.0), + ("object", {}), + ("string", "foo"), + ] + ), + ) + + def test_check_schema_with_different_metaschema(self): + """ + One can create a validator class whose metaschema uses a different + dialect than itself. + """ + + NoEmptySchemasValidator = validators.create( + meta_schema={ + "$schema": validators.Draft202012Validator.META_SCHEMA["$id"], + "not": {"const": {}}, + }, + ) + NoEmptySchemasValidator.check_schema({"foo": "bar"}) + + with self.assertRaises(exceptions.SchemaError): + NoEmptySchemasValidator.check_schema({}) + + NoEmptySchemasValidator({"foo": "bar"}).validate("foo") + + def test_check_schema_with_different_metaschema_defaults_to_self(self): + """ + A validator whose metaschema doesn't declare $schema defaults to its + own validation behavior, not the latest "normal" specification. + """ + + NoEmptySchemasValidator = validators.create( + meta_schema={"fail": [{"message": "Meta schema whoops!"}]}, + validators={"fail": fail}, + ) + with self.assertRaises(exceptions.SchemaError): + NoEmptySchemasValidator.check_schema({}) + + def test_extend(self): + original = dict(self.Validator.VALIDATORS) + new = object() + + Extended = validators.extend( + self.Validator, + validators={"new": new}, + ) + self.assertEqual( + ( + Extended.VALIDATORS, + Extended.META_SCHEMA, + Extended.TYPE_CHECKER, + self.Validator.VALIDATORS, + ), ( + dict(original, new=new), + self.Validator.META_SCHEMA, + self.Validator.TYPE_CHECKER, + original, + ), + ) + + def test_extend_idof(self): + """ + Extending a validator preserves its notion of schema IDs. + """ + def id_of(schema): + return schema.get("__test__", self.Validator.ID_OF(schema)) + correct_id = "the://correct/id/" + meta_schema = { + "$id": "the://wrong/id/", + "__test__": correct_id, + } + Original = validators.create( + meta_schema=meta_schema, + validators=self.validators, + type_checker=self.type_checker, + id_of=id_of, + ) + self.assertEqual(Original.ID_OF(Original.META_SCHEMA), correct_id) + + Derived = validators.extend(Original) + self.assertEqual(Derived.ID_OF(Derived.META_SCHEMA), correct_id) + + def test_extend_applicable_validators(self): + """ + Extending a validator preserves its notion of applicable validators. + """ + + schema = { + "$defs": {"test": {"type": "number"}}, + "$ref": "#/$defs/test", + "maximum": 1 + } + + draft4 = validators.Draft4Validator(schema) + self.assertTrue(draft4.is_valid(37)) # as $ref ignores siblings + + Derived = validators.extend(validators.Draft4Validator) + self.assertTrue(Derived(schema).is_valid(37)) + + +class TestValidationErrorMessages(TestCase): + def message_for(self, instance, schema, *args, **kwargs): + cls = kwargs.pop("cls", validators._LATEST_VERSION) + cls.check_schema(schema) + validator = cls(schema, *args, **kwargs) + errors = list(validator.iter_errors(instance)) + self.assertTrue(errors, msg=f"No errors were raised for {instance!r}") + self.assertEqual( + len(errors), + 1, + msg=f"Expected exactly one error, found {errors!r}", + ) + return errors[0].message + + def test_single_type_failure(self): + message = self.message_for(instance=1, schema={"type": "string"}) + self.assertEqual(message, "1 is not of type 'string'") + + def test_single_type_list_failure(self): + message = self.message_for(instance=1, schema={"type": ["string"]}) + self.assertEqual(message, "1 is not of type 'string'") + + def test_multiple_type_failure(self): + types = "string", "object" + message = self.message_for(instance=1, schema={"type": list(types)}) + self.assertEqual(message, "1 is not of type 'string', 'object'") + + def test_object_with_named_type_failure(self): + schema = {"type": [{"name": "Foo", "minimum": 3}]} + message = self.message_for( + instance=1, + schema=schema, + cls=validators.Draft3Validator, + ) + self.assertEqual(message, "1 is not of type 'Foo'") + + def test_minimum(self): + message = self.message_for(instance=1, schema={"minimum": 2}) + self.assertEqual(message, "1 is less than the minimum of 2") + + def test_maximum(self): + message = self.message_for(instance=1, schema={"maximum": 0}) + self.assertEqual(message, "1 is greater than the maximum of 0") + + def test_dependencies_single_element(self): + depend, on = "bar", "foo" + schema = {"dependencies": {depend: on}} + message = self.message_for( + instance={"bar": 2}, + schema=schema, + cls=validators.Draft3Validator, + ) + self.assertEqual(message, "'foo' is a dependency of 'bar'") + + def test_object_without_title_type_failure_draft3(self): + type = {"type": [{"minimum": 3}]} + message = self.message_for( + instance=1, + schema={"type": [type]}, + cls=validators.Draft3Validator, + ) + self.assertEqual( + message, + "1 is not of type {'type': [{'minimum': 3}]}", + ) + + def test_dependencies_list_draft3(self): + depend, on = "bar", "foo" + schema = {"dependencies": {depend: [on]}} + message = self.message_for( + instance={"bar": 2}, + schema=schema, + cls=validators.Draft3Validator, + ) + self.assertEqual(message, "'foo' is a dependency of 'bar'") + + def test_dependencies_list_draft7(self): + depend, on = "bar", "foo" + schema = {"dependencies": {depend: [on]}} + message = self.message_for( + instance={"bar": 2}, + schema=schema, + cls=validators.Draft7Validator, + ) + self.assertEqual(message, "'foo' is a dependency of 'bar'") + + def test_additionalItems_single_failure(self): + message = self.message_for( + instance=[2], + schema={"items": [], "additionalItems": False}, + cls=validators.Draft3Validator, + ) + self.assertIn("(2 was unexpected)", message) + + def test_additionalItems_multiple_failures(self): + message = self.message_for( + instance=[1, 2, 3], + schema={"items": [], "additionalItems": False}, + cls=validators.Draft3Validator, + ) + self.assertIn("(1, 2, 3 were unexpected)", message) + + def test_additionalProperties_single_failure(self): + additional = "foo" + schema = {"additionalProperties": False} + message = self.message_for(instance={additional: 2}, schema=schema) + self.assertIn("('foo' was unexpected)", message) + + def test_additionalProperties_multiple_failures(self): + schema = {"additionalProperties": False} + message = self.message_for( + instance=dict.fromkeys(["foo", "bar"]), + schema=schema, + ) + + self.assertIn(repr("foo"), message) + self.assertIn(repr("bar"), message) + self.assertIn("were unexpected)", message) + + def test_const(self): + schema = {"const": 12} + message = self.message_for( + instance={"foo": "bar"}, + schema=schema, + ) + self.assertIn("12 was expected", message) + + def test_contains_draft_6(self): + schema = {"contains": {"const": 12}} + message = self.message_for( + instance=[2, {}, []], + schema=schema, + cls=validators.Draft6Validator, + ) + self.assertEqual( + message, + "None of [2, {}, []] are valid under the given schema", + ) + + def test_invalid_format_default_message(self): + checker = FormatChecker(formats=()) + checker.checks("thing")(lambda value: False) + + schema = {"format": "thing"} + message = self.message_for( + instance="bla", + schema=schema, + format_checker=checker, + ) + + self.assertIn(repr("bla"), message) + self.assertIn(repr("thing"), message) + self.assertIn("is not a", message) + + def test_additionalProperties_false_patternProperties(self): + schema = {"type": "object", + "additionalProperties": False, + "patternProperties": { + "^abc$": {"type": "string"}, + "^def$": {"type": "string"}, + }} + message = self.message_for( + instance={"zebra": 123}, + schema=schema, + cls=validators.Draft4Validator, + ) + self.assertEqual( + message, + "{} does not match any of the regexes: {}, {}".format( + repr("zebra"), repr("^abc$"), repr("^def$"), + ), + ) + message = self.message_for( + instance={"zebra": 123, "fish": 456}, + schema=schema, + cls=validators.Draft4Validator, + ) + self.assertEqual( + message, + "{}, {} do not match any of the regexes: {}, {}".format( + repr("fish"), repr("zebra"), repr("^abc$"), repr("^def$"), + ), + ) + + def test_False_schema(self): + message = self.message_for( + instance="something", + schema=False, + ) + self.assertEqual(message, "False schema does not allow 'something'") + + def test_multipleOf(self): + message = self.message_for( + instance=3, + schema={"multipleOf": 2}, + ) + self.assertEqual(message, "3 is not a multiple of 2") + + def test_minItems(self): + message = self.message_for(instance=[], schema={"minItems": 2}) + self.assertEqual(message, "[] is too short") + + def test_maxItems(self): + message = self.message_for(instance=[1, 2, 3], schema={"maxItems": 2}) + self.assertEqual(message, "[1, 2, 3] is too long") + + def test_prefixItems_with_items(self): + message = self.message_for( + instance=[1, 2, "foo"], + schema={"items": False, "prefixItems": [{}, {}]}, + ) + self.assertEqual( + message, + "Expected at most 2 items but found 1 extra: 'foo'" + ) + + def test_prefixItems_with_multiple_extra_items(self): + message = self.message_for( + instance=[1, 2, "foo", 5], + schema={"items": False, "prefixItems": [{}, {}]}, + ) + self.assertEqual( + message, + "Expected at most 2 items but found 2 extra: ['foo', 5]" + ) + + def test_minLength(self): + message = self.message_for( + instance="", + schema={"minLength": 2}, + ) + self.assertEqual(message, "'' is too short") + + def test_maxLength(self): + message = self.message_for( + instance="abc", + schema={"maxLength": 2}, + ) + self.assertEqual(message, "'abc' is too long") + + def test_pattern(self): + message = self.message_for( + instance="bbb", + schema={"pattern": "^a*$"}, + ) + self.assertEqual(message, "'bbb' does not match '^a*$'") + + def test_does_not_contain(self): + message = self.message_for( + instance=[], + schema={"contains": {"type": "string"}}, + ) + self.assertEqual( + message, + "[] does not contain items matching the given schema", + ) + + def test_contains_too_few(self): + message = self.message_for( + instance=["foo", 1], + schema={"contains": {"type": "string"}, "minContains": 2}, + ) + self.assertEqual( + message, + "Too few items match the given schema " + "(expected at least 2 but only 1 matched)", + ) + + def test_contains_too_few_both_constrained(self): + message = self.message_for( + instance=["foo", 1], + schema={ + "contains": {"type": "string"}, + "minContains": 2, + "maxContains": 4, + }, + ) + self.assertEqual( + message, + "Too few items match the given schema (expected at least 2 but " + "only 1 matched)", + ) + + def test_contains_too_many(self): + message = self.message_for( + instance=["foo", "bar", "baz"], + schema={"contains": {"type": "string"}, "maxContains": 2}, + ) + self.assertEqual( + message, + "Too many items match the given schema (expected at most 2)", + ) + + def test_contains_too_many_both_constrained(self): + message = self.message_for( + instance=["foo"] * 5, + schema={ + "contains": {"type": "string"}, + "minContains": 2, + "maxContains": 4, + }, + ) + self.assertEqual( + message, + "Too many items match the given schema (expected at most 4)", + ) + + def test_exclusiveMinimum(self): + message = self.message_for( + instance=3, + schema={"exclusiveMinimum": 5}, + ) + self.assertEqual( + message, + "3 is less than or equal to the minimum of 5", + ) + + def test_exclusiveMaximum(self): + message = self.message_for(instance=3, schema={"exclusiveMaximum": 2}) + self.assertEqual( + message, + "3 is greater than or equal to the maximum of 2", + ) + + def test_required(self): + message = self.message_for(instance={}, schema={"required": ["foo"]}) + self.assertEqual(message, "'foo' is a required property") + + def test_dependentRequired(self): + message = self.message_for( + instance={"foo": {}}, + schema={"dependentRequired": {"foo": ["bar"]}}, + ) + self.assertEqual(message, "'bar' is a dependency of 'foo'") + + def test_minProperties(self): + message = self.message_for(instance={}, schema={"minProperties": 2}) + self.assertEqual(message, "{} does not have enough properties") + + def test_maxProperties(self): + message = self.message_for( + instance={"a": {}, "b": {}, "c": {}}, + schema={"maxProperties": 2}, + ) + self.assertEqual( + message, + "{'a': {}, 'b': {}, 'c': {}} has too many properties", + ) + + def test_oneOf_matches_none(self): + message = self.message_for(instance={}, schema={"oneOf": [False]}) + self.assertEqual( + message, + "{} is not valid under any of the given schemas", + ) + + def test_oneOf_matches_too_many(self): + message = self.message_for(instance={}, schema={"oneOf": [True, True]}) + self.assertEqual(message, "{} is valid under each of True, True") + + def test_unevaluated_items(self): + schema = {"type": "array", "unevaluatedItems": False} + message = self.message_for(instance=["foo", "bar"], schema=schema) + self.assertIn( + message, + "Unevaluated items are not allowed ('foo', 'bar' were unexpected)", + ) + + def test_unevaluated_items_on_invalid_type(self): + schema = {"type": "array", "unevaluatedItems": False} + message = self.message_for(instance="foo", schema=schema) + self.assertEqual(message, "'foo' is not of type 'array'") + + def test_unevaluated_properties_invalid_against_subschema(self): + schema = { + "properties": {"foo": {"type": "string"}}, + "unevaluatedProperties": {"const": 12}, + } + message = self.message_for( + instance={ + "foo": "foo", + "bar": "bar", + "baz": 12, + }, + schema=schema, + ) + self.assertEqual( + message, + "Unevaluated properties are not valid under the given schema " + "('bar' was unevaluated and invalid)", + ) + + def test_unevaluated_properties_disallowed(self): + schema = {"type": "object", "unevaluatedProperties": False} + message = self.message_for( + instance={ + "foo": "foo", + "bar": "bar", + }, + schema=schema, + ) + self.assertEqual( + message, + "Unevaluated properties are not allowed " + "('bar', 'foo' were unexpected)", + ) + + def test_unevaluated_properties_on_invalid_type(self): + schema = {"type": "object", "unevaluatedProperties": False} + message = self.message_for(instance="foo", schema=schema) + self.assertEqual(message, "'foo' is not of type 'object'") + + def test_single_item(self): + schema = {"prefixItems": [{}], "items": False} + message = self.message_for( + instance=["foo", "bar", "baz"], + schema=schema, + ) + self.assertEqual( + message, + "Expected at most 1 item but found 2 extra: ['bar', 'baz']", + ) + + def test_heterogeneous_additionalItems_with_Items(self): + schema = {"items": [{}], "additionalItems": False} + message = self.message_for( + instance=["foo", "bar", 37], + schema=schema, + cls=validators.Draft7Validator, + ) + self.assertEqual( + message, + "Additional items are not allowed ('bar', 37 were unexpected)" + ) + + def test_heterogeneous_items_prefixItems(self): + schema = {"prefixItems": [{}], "items": False} + message = self.message_for( + instance=["foo", "bar", 37], + schema=schema, + ) + self.assertEqual( + message, + "Expected at most 1 item but found 2 extra: ['bar', 37]", + ) + + def test_heterogeneous_unevaluatedItems_prefixItems(self): + schema = {"prefixItems": [{}], "unevaluatedItems": False} + message = self.message_for( + instance=["foo", "bar", 37], + schema=schema, + ) + self.assertEqual( + message, + "Unevaluated items are not allowed ('bar', 37 were unexpected)", + ) + + def test_heterogeneous_properties_additionalProperties(self): + """ + Not valid deserialized JSON, but this should not blow up. + """ + schema = {"properties": {"foo": {}}, "additionalProperties": False} + message = self.message_for( + instance={"foo": {}, "a": "baz", 37: 12}, + schema=schema, + ) + self.assertEqual( + message, + "Additional properties are not allowed (37, 'a' were unexpected)", + ) + + def test_heterogeneous_properties_unevaluatedProperties(self): + """ + Not valid deserialized JSON, but this should not blow up. + """ + schema = {"properties": {"foo": {}}, "unevaluatedProperties": False} + message = self.message_for( + instance={"foo": {}, "a": "baz", 37: 12}, + schema=schema, + ) + self.assertEqual( + message, + "Unevaluated properties are not allowed (37, 'a' were unexpected)", + ) + + +class TestValidationErrorDetails(TestCase): + # TODO: These really need unit tests for each individual keyword, rather + # than just these higher level tests. + def test_anyOf(self): + instance = 5 + schema = { + "anyOf": [ + {"minimum": 20}, + {"type": "string"}, + ], + } + + validator = validators.Draft4Validator(schema) + errors = list(validator.iter_errors(instance)) + self.assertEqual(len(errors), 1) + e = errors[0] + + self.assertEqual(e.validator, "anyOf") + self.assertEqual(e.validator_value, schema["anyOf"]) + self.assertEqual(e.instance, instance) + self.assertEqual(e.schema, schema) + self.assertIsNone(e.parent) + + self.assertEqual(e.path, deque([])) + self.assertEqual(e.relative_path, deque([])) + self.assertEqual(e.absolute_path, deque([])) + self.assertEqual(e.json_path, "$") + + self.assertEqual(e.schema_path, deque(["anyOf"])) + self.assertEqual(e.relative_schema_path, deque(["anyOf"])) + self.assertEqual(e.absolute_schema_path, deque(["anyOf"])) + + self.assertEqual(len(e.context), 2) + + e1, e2 = sorted_errors(e.context) + + self.assertEqual(e1.validator, "minimum") + self.assertEqual(e1.validator_value, schema["anyOf"][0]["minimum"]) + self.assertEqual(e1.instance, instance) + self.assertEqual(e1.schema, schema["anyOf"][0]) + self.assertIs(e1.parent, e) + + self.assertEqual(e1.path, deque([])) + self.assertEqual(e1.absolute_path, deque([])) + self.assertEqual(e1.relative_path, deque([])) + self.assertEqual(e1.json_path, "$") + + self.assertEqual(e1.schema_path, deque([0, "minimum"])) + self.assertEqual(e1.relative_schema_path, deque([0, "minimum"])) + self.assertEqual( + e1.absolute_schema_path, deque(["anyOf", 0, "minimum"]), + ) + + self.assertFalse(e1.context) + + self.assertEqual(e2.validator, "type") + self.assertEqual(e2.validator_value, schema["anyOf"][1]["type"]) + self.assertEqual(e2.instance, instance) + self.assertEqual(e2.schema, schema["anyOf"][1]) + self.assertIs(e2.parent, e) + + self.assertEqual(e2.path, deque([])) + self.assertEqual(e2.relative_path, deque([])) + self.assertEqual(e2.absolute_path, deque([])) + self.assertEqual(e2.json_path, "$") + + self.assertEqual(e2.schema_path, deque([1, "type"])) + self.assertEqual(e2.relative_schema_path, deque([1, "type"])) + self.assertEqual(e2.absolute_schema_path, deque(["anyOf", 1, "type"])) + + self.assertEqual(len(e2.context), 0) + + def test_type(self): + instance = {"foo": 1} + schema = { + "type": [ + {"type": "integer"}, + { + "type": "object", + "properties": {"foo": {"enum": [2]}}, + }, + ], + } + + validator = validators.Draft3Validator(schema) + errors = list(validator.iter_errors(instance)) + self.assertEqual(len(errors), 1) + e = errors[0] + + self.assertEqual(e.validator, "type") + self.assertEqual(e.validator_value, schema["type"]) + self.assertEqual(e.instance, instance) + self.assertEqual(e.schema, schema) + self.assertIsNone(e.parent) + + self.assertEqual(e.path, deque([])) + self.assertEqual(e.relative_path, deque([])) + self.assertEqual(e.absolute_path, deque([])) + self.assertEqual(e.json_path, "$") + + self.assertEqual(e.schema_path, deque(["type"])) + self.assertEqual(e.relative_schema_path, deque(["type"])) + self.assertEqual(e.absolute_schema_path, deque(["type"])) + + self.assertEqual(len(e.context), 2) + + e1, e2 = sorted_errors(e.context) + + self.assertEqual(e1.validator, "type") + self.assertEqual(e1.validator_value, schema["type"][0]["type"]) + self.assertEqual(e1.instance, instance) + self.assertEqual(e1.schema, schema["type"][0]) + self.assertIs(e1.parent, e) + + self.assertEqual(e1.path, deque([])) + self.assertEqual(e1.relative_path, deque([])) + self.assertEqual(e1.absolute_path, deque([])) + self.assertEqual(e1.json_path, "$") + + self.assertEqual(e1.schema_path, deque([0, "type"])) + self.assertEqual(e1.relative_schema_path, deque([0, "type"])) + self.assertEqual(e1.absolute_schema_path, deque(["type", 0, "type"])) + + self.assertFalse(e1.context) + + self.assertEqual(e2.validator, "enum") + self.assertEqual(e2.validator_value, [2]) + self.assertEqual(e2.instance, 1) + self.assertEqual(e2.schema, {"enum": [2]}) + self.assertIs(e2.parent, e) + + self.assertEqual(e2.path, deque(["foo"])) + self.assertEqual(e2.relative_path, deque(["foo"])) + self.assertEqual(e2.absolute_path, deque(["foo"])) + self.assertEqual(e2.json_path, "$.foo") + + self.assertEqual( + e2.schema_path, deque([1, "properties", "foo", "enum"]), + ) + self.assertEqual( + e2.relative_schema_path, deque([1, "properties", "foo", "enum"]), + ) + self.assertEqual( + e2.absolute_schema_path, + deque(["type", 1, "properties", "foo", "enum"]), + ) + + self.assertFalse(e2.context) + + def test_single_nesting(self): + instance = {"foo": 2, "bar": [1], "baz": 15, "quux": "spam"} + schema = { + "properties": { + "foo": {"type": "string"}, + "bar": {"minItems": 2}, + "baz": {"maximum": 10, "enum": [2, 4, 6, 8]}, + }, + } + + validator = validators.Draft3Validator(schema) + errors = validator.iter_errors(instance) + e1, e2, e3, e4 = sorted_errors(errors) + + self.assertEqual(e1.path, deque(["bar"])) + self.assertEqual(e2.path, deque(["baz"])) + self.assertEqual(e3.path, deque(["baz"])) + self.assertEqual(e4.path, deque(["foo"])) + + self.assertEqual(e1.relative_path, deque(["bar"])) + self.assertEqual(e2.relative_path, deque(["baz"])) + self.assertEqual(e3.relative_path, deque(["baz"])) + self.assertEqual(e4.relative_path, deque(["foo"])) + + self.assertEqual(e1.absolute_path, deque(["bar"])) + self.assertEqual(e2.absolute_path, deque(["baz"])) + self.assertEqual(e3.absolute_path, deque(["baz"])) + self.assertEqual(e4.absolute_path, deque(["foo"])) + + self.assertEqual(e1.json_path, "$.bar") + self.assertEqual(e2.json_path, "$.baz") + self.assertEqual(e3.json_path, "$.baz") + self.assertEqual(e4.json_path, "$.foo") + + self.assertEqual(e1.validator, "minItems") + self.assertEqual(e2.validator, "enum") + self.assertEqual(e3.validator, "maximum") + self.assertEqual(e4.validator, "type") + + def test_multiple_nesting(self): + instance = [1, {"foo": 2, "bar": {"baz": [1]}}, "quux"] + schema = { + "type": "string", + "items": { + "type": ["string", "object"], + "properties": { + "foo": {"enum": [1, 3]}, + "bar": { + "type": "array", + "properties": { + "bar": {"required": True}, + "baz": {"minItems": 2}, + }, + }, + }, + }, + } + + validator = validators.Draft3Validator(schema) + errors = validator.iter_errors(instance) + e1, e2, e3, e4, e5, e6 = sorted_errors(errors) + + self.assertEqual(e1.path, deque([])) + self.assertEqual(e2.path, deque([0])) + self.assertEqual(e3.path, deque([1, "bar"])) + self.assertEqual(e4.path, deque([1, "bar", "bar"])) + self.assertEqual(e5.path, deque([1, "bar", "baz"])) + self.assertEqual(e6.path, deque([1, "foo"])) + + self.assertEqual(e1.json_path, "$") + self.assertEqual(e2.json_path, "$[0]") + self.assertEqual(e3.json_path, "$[1].bar") + self.assertEqual(e4.json_path, "$[1].bar.bar") + self.assertEqual(e5.json_path, "$[1].bar.baz") + self.assertEqual(e6.json_path, "$[1].foo") + + self.assertEqual(e1.schema_path, deque(["type"])) + self.assertEqual(e2.schema_path, deque(["items", "type"])) + self.assertEqual( + list(e3.schema_path), ["items", "properties", "bar", "type"], + ) + self.assertEqual( + list(e4.schema_path), + ["items", "properties", "bar", "properties", "bar", "required"], + ) + self.assertEqual( + list(e5.schema_path), + ["items", "properties", "bar", "properties", "baz", "minItems"], + ) + self.assertEqual( + list(e6.schema_path), ["items", "properties", "foo", "enum"], + ) + + self.assertEqual(e1.validator, "type") + self.assertEqual(e2.validator, "type") + self.assertEqual(e3.validator, "type") + self.assertEqual(e4.validator, "required") + self.assertEqual(e5.validator, "minItems") + self.assertEqual(e6.validator, "enum") + + def test_recursive(self): + schema = { + "definitions": { + "node": { + "anyOf": [{ + "type": "object", + "required": ["name", "children"], + "properties": { + "name": { + "type": "string", + }, + "children": { + "type": "object", + "patternProperties": { + "^.*$": { + "$ref": "#/definitions/node", + }, + }, + }, + }, + }], + }, + }, + "type": "object", + "required": ["root"], + "properties": {"root": {"$ref": "#/definitions/node"}}, + } + + instance = { + "root": { + "name": "root", + "children": { + "a": { + "name": "a", + "children": { + "ab": { + "name": "ab", + # missing "children" + }, + }, + }, + }, + }, + } + validator = validators.Draft4Validator(schema) + + e, = validator.iter_errors(instance) + self.assertEqual(e.absolute_path, deque(["root"])) + self.assertEqual( + e.absolute_schema_path, deque(["properties", "root", "anyOf"]), + ) + self.assertEqual(e.json_path, "$.root") + + e1, = e.context + self.assertEqual(e1.absolute_path, deque(["root", "children", "a"])) + self.assertEqual( + e1.absolute_schema_path, deque( + [ + "properties", + "root", + "anyOf", + 0, + "properties", + "children", + "patternProperties", + "^.*$", + "anyOf", + ], + ), + ) + self.assertEqual(e1.json_path, "$.root.children.a") + + e2, = e1.context + self.assertEqual( + e2.absolute_path, deque( + ["root", "children", "a", "children", "ab"], + ), + ) + self.assertEqual( + e2.absolute_schema_path, deque( + [ + "properties", + "root", + "anyOf", + 0, + "properties", + "children", + "patternProperties", + "^.*$", + "anyOf", + 0, + "properties", + "children", + "patternProperties", + "^.*$", + "anyOf", + ], + ), + ) + self.assertEqual(e2.json_path, "$.root.children.a.children.ab") + + def test_additionalProperties(self): + instance = {"bar": "bar", "foo": 2} + schema = {"additionalProperties": {"type": "integer", "minimum": 5}} + + validator = validators.Draft3Validator(schema) + errors = validator.iter_errors(instance) + e1, e2 = sorted_errors(errors) + + self.assertEqual(e1.path, deque(["bar"])) + self.assertEqual(e2.path, deque(["foo"])) + + self.assertEqual(e1.json_path, "$.bar") + self.assertEqual(e2.json_path, "$.foo") + + self.assertEqual(e1.validator, "type") + self.assertEqual(e2.validator, "minimum") + + def test_patternProperties(self): + instance = {"bar": 1, "foo": 2} + schema = { + "patternProperties": { + "bar": {"type": "string"}, + "foo": {"minimum": 5}, + }, + } + + validator = validators.Draft3Validator(schema) + errors = validator.iter_errors(instance) + e1, e2 = sorted_errors(errors) + + self.assertEqual(e1.path, deque(["bar"])) + self.assertEqual(e2.path, deque(["foo"])) + + self.assertEqual(e1.json_path, "$.bar") + self.assertEqual(e2.json_path, "$.foo") + + self.assertEqual(e1.validator, "type") + self.assertEqual(e2.validator, "minimum") + + def test_additionalItems(self): + instance = ["foo", 1] + schema = { + "items": [], + "additionalItems": {"type": "integer", "minimum": 5}, + } + + validator = validators.Draft3Validator(schema) + errors = validator.iter_errors(instance) + e1, e2 = sorted_errors(errors) + + self.assertEqual(e1.path, deque([0])) + self.assertEqual(e2.path, deque([1])) + + self.assertEqual(e1.json_path, "$[0]") + self.assertEqual(e2.json_path, "$[1]") + + self.assertEqual(e1.validator, "type") + self.assertEqual(e2.validator, "minimum") + + def test_additionalItems_with_items(self): + instance = ["foo", "bar", 1] + schema = { + "items": [{}], + "additionalItems": {"type": "integer", "minimum": 5}, + } + + validator = validators.Draft3Validator(schema) + errors = validator.iter_errors(instance) + e1, e2 = sorted_errors(errors) + + self.assertEqual(e1.path, deque([1])) + self.assertEqual(e2.path, deque([2])) + + self.assertEqual(e1.json_path, "$[1]") + self.assertEqual(e2.json_path, "$[2]") + + self.assertEqual(e1.validator, "type") + self.assertEqual(e2.validator, "minimum") + + def test_propertyNames(self): + instance = {"foo": 12} + schema = {"propertyNames": {"not": {"const": "foo"}}} + + validator = validators.Draft7Validator(schema) + error, = validator.iter_errors(instance) + + self.assertEqual(error.validator, "not") + self.assertEqual( + error.message, + "'foo' should not be valid under {'const': 'foo'}", + ) + self.assertEqual(error.path, deque([])) + self.assertEqual(error.json_path, "$") + self.assertEqual(error.schema_path, deque(["propertyNames", "not"])) + + def test_if_then(self): + schema = { + "if": {"const": 12}, + "then": {"const": 13}, + } + + validator = validators.Draft7Validator(schema) + error, = validator.iter_errors(12) + + self.assertEqual(error.validator, "const") + self.assertEqual(error.message, "13 was expected") + self.assertEqual(error.path, deque([])) + self.assertEqual(error.json_path, "$") + self.assertEqual(error.schema_path, deque(["then", "const"])) + + def test_if_else(self): + schema = { + "if": {"const": 12}, + "else": {"const": 13}, + } + + validator = validators.Draft7Validator(schema) + error, = validator.iter_errors(15) + + self.assertEqual(error.validator, "const") + self.assertEqual(error.message, "13 was expected") + self.assertEqual(error.path, deque([])) + self.assertEqual(error.json_path, "$") + self.assertEqual(error.schema_path, deque(["else", "const"])) + + def test_boolean_schema_False(self): + validator = validators.Draft7Validator(False) + error, = validator.iter_errors(12) + + self.assertEqual( + ( + error.message, + error.validator, + error.validator_value, + error.instance, + error.schema, + error.schema_path, + error.json_path, + ), + ( + "False schema does not allow 12", + None, + None, + 12, + False, + deque([]), + "$", + ), + ) + + def test_ref(self): + ref, schema = "someRef", {"additionalProperties": {"type": "integer"}} + validator = validators.Draft7Validator( + {"$ref": ref}, + resolver=validators._RefResolver("", {}, store={ref: schema}), + ) + error, = validator.iter_errors({"foo": "notAnInteger"}) + + self.assertEqual( + ( + error.message, + error.validator, + error.validator_value, + error.instance, + error.absolute_path, + error.schema, + error.schema_path, + error.json_path, + ), + ( + "'notAnInteger' is not of type 'integer'", + "type", + "integer", + "notAnInteger", + deque(["foo"]), + {"type": "integer"}, + deque(["additionalProperties", "type"]), + "$.foo", + ), + ) + + def test_prefixItems(self): + schema = {"prefixItems": [{"type": "string"}, {}, {}, {"maximum": 3}]} + validator = validators.Draft202012Validator(schema) + type_error, min_error = validator.iter_errors([1, 2, "foo", 5]) + self.assertEqual( + ( + type_error.message, + type_error.validator, + type_error.validator_value, + type_error.instance, + type_error.absolute_path, + type_error.schema, + type_error.schema_path, + type_error.json_path, + ), + ( + "1 is not of type 'string'", + "type", + "string", + 1, + deque([0]), + {"type": "string"}, + deque(["prefixItems", 0, "type"]), + "$[0]", + ), + ) + self.assertEqual( + ( + min_error.message, + min_error.validator, + min_error.validator_value, + min_error.instance, + min_error.absolute_path, + min_error.schema, + min_error.schema_path, + min_error.json_path, + ), + ( + "5 is greater than the maximum of 3", + "maximum", + 3, + 5, + deque([3]), + {"maximum": 3}, + deque(["prefixItems", 3, "maximum"]), + "$[3]", + ), + ) + + def test_prefixItems_with_items(self): + schema = { + "items": {"type": "string"}, + "prefixItems": [{}], + } + validator = validators.Draft202012Validator(schema) + e1, e2 = validator.iter_errors(["foo", 2, "bar", 4, "baz"]) + self.assertEqual( + ( + e1.message, + e1.validator, + e1.validator_value, + e1.instance, + e1.absolute_path, + e1.schema, + e1.schema_path, + e1.json_path, + ), + ( + "2 is not of type 'string'", + "type", + "string", + 2, + deque([1]), + {"type": "string"}, + deque(["items", "type"]), + "$[1]", + ), + ) + self.assertEqual( + ( + e2.message, + e2.validator, + e2.validator_value, + e2.instance, + e2.absolute_path, + e2.schema, + e2.schema_path, + e2.json_path, + ), + ( + "4 is not of type 'string'", + "type", + "string", + 4, + deque([3]), + {"type": "string"}, + deque(["items", "type"]), + "$[3]", + ), + ) + + def test_contains_too_many(self): + """ + `contains` + `maxContains` produces only one error, even if there are + many more incorrectly matching elements. + """ + schema = {"contains": {"type": "string"}, "maxContains": 2} + validator = validators.Draft202012Validator(schema) + error, = validator.iter_errors(["foo", 2, "bar", 4, "baz", "quux"]) + self.assertEqual( + ( + error.message, + error.validator, + error.validator_value, + error.instance, + error.absolute_path, + error.schema, + error.schema_path, + error.json_path, + ), + ( + "Too many items match the given schema (expected at most 2)", + "maxContains", + 2, + ["foo", 2, "bar", 4, "baz", "quux"], + deque([]), + {"contains": {"type": "string"}, "maxContains": 2}, + deque(["contains"]), + "$", + ), + ) + + def test_contains_too_few(self): + schema = {"contains": {"type": "string"}, "minContains": 2} + validator = validators.Draft202012Validator(schema) + error, = validator.iter_errors(["foo", 2, 4]) + self.assertEqual( + ( + error.message, + error.validator, + error.validator_value, + error.instance, + error.absolute_path, + error.schema, + error.schema_path, + error.json_path, + ), + ( + ( + "Too few items match the given schema " + "(expected at least 2 but only 1 matched)" + ), + "minContains", + 2, + ["foo", 2, 4], + deque([]), + {"contains": {"type": "string"}, "minContains": 2}, + deque(["contains"]), + "$", + ), + ) + + def test_contains_none(self): + schema = {"contains": {"type": "string"}, "minContains": 2} + validator = validators.Draft202012Validator(schema) + error, = validator.iter_errors([2, 4]) + self.assertEqual( + ( + error.message, + error.validator, + error.validator_value, + error.instance, + error.absolute_path, + error.schema, + error.schema_path, + error.json_path, + ), + ( + "[2, 4] does not contain items matching the given schema", + "contains", + {"type": "string"}, + [2, 4], + deque([]), + {"contains": {"type": "string"}, "minContains": 2}, + deque(["contains"]), + "$", + ), + ) + + def test_ref_sibling(self): + schema = { + "$defs": {"foo": {"required": ["bar"]}}, + "properties": { + "aprop": { + "$ref": "#/$defs/foo", + "required": ["baz"], + }, + }, + } + + validator = validators.Draft202012Validator(schema) + e1, e2 = validator.iter_errors({"aprop": {}}) + self.assertEqual( + ( + e1.message, + e1.validator, + e1.validator_value, + e1.instance, + e1.absolute_path, + e1.schema, + e1.schema_path, + e1.relative_schema_path, + e1.json_path, + ), + ( + "'bar' is a required property", + "required", + ["bar"], + {}, + deque(["aprop"]), + {"required": ["bar"]}, + deque(["properties", "aprop", "required"]), + deque(["properties", "aprop", "required"]), + "$.aprop", + ), + ) + self.assertEqual( + ( + e2.message, + e2.validator, + e2.validator_value, + e2.instance, + e2.absolute_path, + e2.schema, + e2.schema_path, + e2.relative_schema_path, + e2.json_path, + ), + ( + "'baz' is a required property", + "required", + ["baz"], + {}, + deque(["aprop"]), + {"$ref": "#/$defs/foo", "required": ["baz"]}, + deque(["properties", "aprop", "required"]), + deque(["properties", "aprop", "required"]), + "$.aprop", + ), + ) + + +class MetaSchemaTestsMixin: + # TODO: These all belong upstream + def test_invalid_properties(self): + with self.assertRaises(exceptions.SchemaError): + self.Validator.check_schema({"properties": 12}) + + def test_minItems_invalid_string(self): + with self.assertRaises(exceptions.SchemaError): + # needs to be an integer + self.Validator.check_schema({"minItems": "1"}) + + def test_enum_allows_empty_arrays(self): + """ + Technically, all the spec says is they SHOULD have elements, not MUST. + + (As of Draft 6. Previous drafts do say MUST). + + See #529. + """ + if self.Validator in { + validators.Draft3Validator, + validators.Draft4Validator, + }: + with self.assertRaises(exceptions.SchemaError): + self.Validator.check_schema({"enum": []}) + else: + self.Validator.check_schema({"enum": []}) + + def test_enum_allows_non_unique_items(self): + """ + Technically, all the spec says is they SHOULD be unique, not MUST. + + (As of Draft 6. Previous drafts do say MUST). + + See #529. + """ + if self.Validator in { + validators.Draft3Validator, + validators.Draft4Validator, + }: + with self.assertRaises(exceptions.SchemaError): + self.Validator.check_schema({"enum": [12, 12]}) + else: + self.Validator.check_schema({"enum": [12, 12]}) + + def test_schema_with_invalid_regex(self): + with self.assertRaises(exceptions.SchemaError): + self.Validator.check_schema({"pattern": "*notaregex"}) + + def test_schema_with_invalid_regex_with_disabled_format_validation(self): + self.Validator.check_schema( + {"pattern": "*notaregex"}, + format_checker=None, + ) + + +class ValidatorTestMixin(MetaSchemaTestsMixin): + def test_it_implements_the_validator_protocol(self): + self.assertIsInstance(self.Validator({}), protocols.Validator) + + def test_valid_instances_are_valid(self): + schema, instance = self.valid + self.assertTrue(self.Validator(schema).is_valid(instance)) + + def test_invalid_instances_are_not_valid(self): + schema, instance = self.invalid + self.assertFalse(self.Validator(schema).is_valid(instance)) + + def test_non_existent_properties_are_ignored(self): + self.Validator({object(): object()}).validate(instance=object()) + + def test_evolve(self): + schema, format_checker = {"type": "integer"}, FormatChecker() + original = self.Validator( + schema, + format_checker=format_checker, + ) + new = original.evolve( + schema={"type": "string"}, + format_checker=self.Validator.FORMAT_CHECKER, + ) + + expected = self.Validator( + {"type": "string"}, + format_checker=self.Validator.FORMAT_CHECKER, + _resolver=new._resolver, + ) + + self.assertEqual(new, expected) + self.assertNotEqual(new, original) + + def test_evolve_with_subclass(self): + """ + Subclassing validators isn't supported public API, but some users have + done it, because we don't actually error entirely when it's done :/ + + We need to deprecate doing so first to help as many of these users + ensure they can move to supported APIs, but this test ensures that in + the interim, we haven't broken those users. + """ + + with self.assertWarns(DeprecationWarning): + @define + class OhNo(self.Validator): + foo = field(factory=lambda: [1, 2, 3]) + _bar = field(default=37) + + validator = OhNo({}, bar=12) + self.assertEqual(validator.foo, [1, 2, 3]) + + new = validator.evolve(schema={"type": "integer"}) + self.assertEqual(new.foo, [1, 2, 3]) + self.assertEqual(new._bar, 12) + + def test_is_type_is_true_for_valid_type(self): + self.assertTrue(self.Validator({}).is_type("foo", "string")) + + def test_is_type_is_false_for_invalid_type(self): + self.assertFalse(self.Validator({}).is_type("foo", "array")) + + def test_is_type_evades_bool_inheriting_from_int(self): + self.assertFalse(self.Validator({}).is_type(True, "integer")) + self.assertFalse(self.Validator({}).is_type(True, "number")) + + def test_it_can_validate_with_decimals(self): + schema = {"items": {"type": "number"}} + Validator = validators.extend( + self.Validator, + type_checker=self.Validator.TYPE_CHECKER.redefine( + "number", + lambda checker, thing: isinstance( + thing, (int, float, Decimal), + ) and not isinstance(thing, bool), + ), + ) + + validator = Validator(schema) + validator.validate([1, 1.1, Decimal(1) / Decimal(8)]) + + invalid = ["foo", {}, [], True, None] + self.assertEqual( + [error.instance for error in validator.iter_errors(invalid)], + invalid, + ) + + def test_it_returns_true_for_formats_it_does_not_know_about(self): + validator = self.Validator( + {"format": "carrot"}, format_checker=FormatChecker(), + ) + validator.validate("bugs") + + def test_it_does_not_validate_formats_by_default(self): + validator = self.Validator({}) + self.assertIsNone(validator.format_checker) + + def test_it_validates_formats_if_a_checker_is_provided(self): + checker = FormatChecker() + bad = ValueError("Bad!") + + @checker.checks("foo", raises=ValueError) + def check(value): + if value == "good": + return True + elif value == "bad": + raise bad + else: # pragma: no cover + self.fail(f"What is {value}? [Baby Don't Hurt Me]") + + validator = self.Validator( + {"format": "foo"}, format_checker=checker, + ) + + validator.validate("good") + with self.assertRaises(exceptions.ValidationError) as cm: + validator.validate("bad") + + # Make sure original cause is attached + self.assertIs(cm.exception.cause, bad) + + def test_non_string_custom_type(self): + non_string_type = object() + schema = {"type": [non_string_type]} + Crazy = validators.extend( + self.Validator, + type_checker=self.Validator.TYPE_CHECKER.redefine( + non_string_type, + lambda checker, thing: isinstance(thing, int), + ), + ) + Crazy(schema).validate(15) + + def test_it_properly_formats_tuples_in_errors(self): + """ + A tuple instance properly formats validation errors for uniqueItems. + + See #224 + """ + TupleValidator = validators.extend( + self.Validator, + type_checker=self.Validator.TYPE_CHECKER.redefine( + "array", + lambda checker, thing: isinstance(thing, tuple), + ), + ) + with self.assertRaises(exceptions.ValidationError) as e: + TupleValidator({"uniqueItems": True}).validate((1, 1)) + self.assertIn("(1, 1) has non-unique elements", str(e.exception)) + + def test_check_redefined_sequence(self): + """ + Allow array to validate against another defined sequence type + """ + schema = {"type": "array", "uniqueItems": True} + MyMapping = namedtuple("MyMapping", "a, b") + Validator = validators.extend( + self.Validator, + type_checker=self.Validator.TYPE_CHECKER.redefine_many( + { + "array": lambda checker, thing: isinstance( + thing, (list, deque), + ), + "object": lambda checker, thing: isinstance( + thing, (dict, MyMapping), + ), + }, + ), + ) + validator = Validator(schema) + + valid_instances = [ + deque(["a", None, "1", "", True]), + deque([[False], [0]]), + [deque([False]), deque([0])], + [[deque([False])], [deque([0])]], + [[[[[deque([False])]]]], [[[[deque([0])]]]]], + [deque([deque([False])]), deque([deque([0])])], + [MyMapping("a", 0), MyMapping("a", False)], + [ + MyMapping("a", [deque([0])]), + MyMapping("a", [deque([False])]), + ], + [ + MyMapping("a", [MyMapping("a", deque([0]))]), + MyMapping("a", [MyMapping("a", deque([False]))]), + ], + [deque(deque(deque([False]))), deque(deque(deque([0])))], + ] + + for instance in valid_instances: + validator.validate(instance) + + invalid_instances = [ + deque(["a", "b", "a"]), + deque([[False], [False]]), + [deque([False]), deque([False])], + [[deque([False])], [deque([False])]], + [[[[[deque([False])]]]], [[[[deque([False])]]]]], + [deque([deque([False])]), deque([deque([False])])], + [MyMapping("a", False), MyMapping("a", False)], + [ + MyMapping("a", [deque([False])]), + MyMapping("a", [deque([False])]), + ], + [ + MyMapping("a", [MyMapping("a", deque([False]))]), + MyMapping("a", [MyMapping("a", deque([False]))]), + ], + [deque(deque(deque([False]))), deque(deque(deque([False])))], + ] + + for instance in invalid_instances: + with self.assertRaises(exceptions.ValidationError): + validator.validate(instance) + + def test_it_creates_a_ref_resolver_if_not_provided(self): + with self.assertWarns(DeprecationWarning): + resolver = self.Validator({}).resolver + self.assertIsInstance(resolver, validators._RefResolver) + + def test_it_upconverts_from_deprecated_RefResolvers(self): + ref, schema = "someCoolRef", {"type": "integer"} + resolver = validators._RefResolver("", {}, store={ref: schema}) + validator = self.Validator({"$ref": ref}, resolver=resolver) + + with self.assertRaises(exceptions.ValidationError): + validator.validate(None) + + def test_it_upconverts_from_yet_older_deprecated_legacy_RefResolvers(self): + """ + Legacy RefResolvers support only the context manager form of + resolution. + """ + + class LegacyRefResolver: + @contextmanager + def resolving(this, ref): + self.assertEqual(ref, "the ref") + yield {"type": "integer"} + + resolver = LegacyRefResolver() + schema = {"$ref": "the ref"} + + with self.assertRaises(exceptions.ValidationError): + self.Validator(schema, resolver=resolver).validate(None) + + +class AntiDraft6LeakMixin: + """ + Make sure functionality from draft 6 doesn't leak backwards in time. + """ + + def test_True_is_not_a_schema(self): + with self.assertRaises(exceptions.SchemaError) as e: + self.Validator.check_schema(True) + self.assertIn("True is not of type", str(e.exception)) + + def test_False_is_not_a_schema(self): + with self.assertRaises(exceptions.SchemaError) as e: + self.Validator.check_schema(False) + self.assertIn("False is not of type", str(e.exception)) + + def test_True_is_not_a_schema_even_if_you_forget_to_check(self): + with self.assertRaises(Exception) as e: + self.Validator(True).validate(12) + self.assertNotIsInstance(e.exception, exceptions.ValidationError) + + def test_False_is_not_a_schema_even_if_you_forget_to_check(self): + with self.assertRaises(Exception) as e: + self.Validator(False).validate(12) + self.assertNotIsInstance(e.exception, exceptions.ValidationError) + + +class TestDraft3Validator(AntiDraft6LeakMixin, ValidatorTestMixin, TestCase): + Validator = validators.Draft3Validator + valid: tuple[dict, dict] = ({}, {}) + invalid = {"type": "integer"}, "foo" + + def test_any_type_is_valid_for_type_any(self): + validator = self.Validator({"type": "any"}) + validator.validate(object()) + + def test_any_type_is_redefinable(self): + """ + Sigh, because why not. + """ + Crazy = validators.extend( + self.Validator, + type_checker=self.Validator.TYPE_CHECKER.redefine( + "any", lambda checker, thing: isinstance(thing, int), + ), + ) + validator = Crazy({"type": "any"}) + validator.validate(12) + with self.assertRaises(exceptions.ValidationError): + validator.validate("foo") + + def test_is_type_is_true_for_any_type(self): + self.assertTrue(self.Validator({"type": "any"}).is_valid(object())) + + def test_is_type_does_not_evade_bool_if_it_is_being_tested(self): + self.assertTrue(self.Validator({}).is_type(True, "boolean")) + self.assertTrue(self.Validator({"type": "any"}).is_valid(True)) + + +class TestDraft4Validator(AntiDraft6LeakMixin, ValidatorTestMixin, TestCase): + Validator = validators.Draft4Validator + valid: tuple[dict, dict] = ({}, {}) + invalid = {"type": "integer"}, "foo" + + +class TestDraft6Validator(ValidatorTestMixin, TestCase): + Validator = validators.Draft6Validator + valid: tuple[dict, dict] = ({}, {}) + invalid = {"type": "integer"}, "foo" + + +class TestDraft7Validator(ValidatorTestMixin, TestCase): + Validator = validators.Draft7Validator + valid: tuple[dict, dict] = ({}, {}) + invalid = {"type": "integer"}, "foo" + + +class TestDraft201909Validator(ValidatorTestMixin, TestCase): + Validator = validators.Draft201909Validator + valid: tuple[dict, dict] = ({}, {}) + invalid = {"type": "integer"}, "foo" + + +class TestDraft202012Validator(ValidatorTestMixin, TestCase): + Validator = validators.Draft202012Validator + valid: tuple[dict, dict] = ({}, {}) + invalid = {"type": "integer"}, "foo" + + +class TestLatestValidator(TestCase): + """ + These really apply to multiple versions but are easiest to test on one. + """ + + def test_ref_resolvers_may_have_boolean_schemas_stored(self): + ref = "someCoolRef" + schema = {"$ref": ref} + resolver = validators._RefResolver("", {}, store={ref: False}) + validator = validators._LATEST_VERSION(schema, resolver=resolver) + + with self.assertRaises(exceptions.ValidationError): + validator.validate(None) + + +class TestValidatorFor(TestCase): + def test_draft_3(self): + schema = {"$schema": "http://json-schema.org/draft-03/schema"} + self.assertIs( + validators.validator_for(schema), + validators.Draft3Validator, + ) + + schema = {"$schema": "http://json-schema.org/draft-03/schema#"} + self.assertIs( + validators.validator_for(schema), + validators.Draft3Validator, + ) + + def test_draft_4(self): + schema = {"$schema": "http://json-schema.org/draft-04/schema"} + self.assertIs( + validators.validator_for(schema), + validators.Draft4Validator, + ) + + schema = {"$schema": "http://json-schema.org/draft-04/schema#"} + self.assertIs( + validators.validator_for(schema), + validators.Draft4Validator, + ) + + def test_draft_6(self): + schema = {"$schema": "http://json-schema.org/draft-06/schema"} + self.assertIs( + validators.validator_for(schema), + validators.Draft6Validator, + ) + + schema = {"$schema": "http://json-schema.org/draft-06/schema#"} + self.assertIs( + validators.validator_for(schema), + validators.Draft6Validator, + ) + + def test_draft_7(self): + schema = {"$schema": "http://json-schema.org/draft-07/schema"} + self.assertIs( + validators.validator_for(schema), + validators.Draft7Validator, + ) + + schema = {"$schema": "http://json-schema.org/draft-07/schema#"} + self.assertIs( + validators.validator_for(schema), + validators.Draft7Validator, + ) + + def test_draft_201909(self): + schema = {"$schema": "https://json-schema.org/draft/2019-09/schema"} + self.assertIs( + validators.validator_for(schema), + validators.Draft201909Validator, + ) + + schema = {"$schema": "https://json-schema.org/draft/2019-09/schema#"} + self.assertIs( + validators.validator_for(schema), + validators.Draft201909Validator, + ) + + def test_draft_202012(self): + schema = {"$schema": "https://json-schema.org/draft/2020-12/schema"} + self.assertIs( + validators.validator_for(schema), + validators.Draft202012Validator, + ) + + schema = {"$schema": "https://json-schema.org/draft/2020-12/schema#"} + self.assertIs( + validators.validator_for(schema), + validators.Draft202012Validator, + ) + + def test_True(self): + self.assertIs( + validators.validator_for(True), + validators._LATEST_VERSION, + ) + + def test_False(self): + self.assertIs( + validators.validator_for(False), + validators._LATEST_VERSION, + ) + + def test_custom_validator(self): + Validator = validators.create( + meta_schema={"id": "meta schema id"}, + version="12", + id_of=lambda s: s.get("id", ""), + ) + schema = {"$schema": "meta schema id"} + self.assertIs( + validators.validator_for(schema), + Validator, + ) + + def test_custom_validator_draft6(self): + Validator = validators.create( + meta_schema={"$id": "meta schema $id"}, + version="13", + ) + schema = {"$schema": "meta schema $id"} + self.assertIs( + validators.validator_for(schema), + Validator, + ) + + def test_validator_for_jsonschema_default(self): + self.assertIs(validators.validator_for({}), validators._LATEST_VERSION) + + def test_validator_for_custom_default(self): + self.assertIs(validators.validator_for({}, default=None), None) + + def test_warns_if_meta_schema_specified_was_not_found(self): + with self.assertWarns(DeprecationWarning) as cm: + validators.validator_for(schema={"$schema": "unknownSchema"}) + + self.assertEqual(cm.filename, __file__) + self.assertEqual( + str(cm.warning), + "The metaschema specified by $schema was not found. " + "Using the latest draft to validate, but this will raise " + "an error in the future.", + ) + + def test_does_not_warn_if_meta_schema_is_unspecified(self): + with warnings.catch_warnings(record=True) as w: + warnings.simplefilter("always") + validators.validator_for(schema={}, default={}) + self.assertFalse(w) + + def test_validator_for_custom_default_with_schema(self): + schema, default = {"$schema": "mailto:foo@example.com"}, object() + self.assertIs(validators.validator_for(schema, default), default) + + +class TestValidate(TestCase): + def assertUses(self, schema, Validator): + result = [] + with mock.patch.object(Validator, "check_schema", result.append): + validators.validate({}, schema) + self.assertEqual(result, [schema]) + + def test_draft3_validator_is_chosen(self): + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-03/schema#"}, + Validator=validators.Draft3Validator, + ) + # Make sure it works without the empty fragment + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-03/schema"}, + Validator=validators.Draft3Validator, + ) + + def test_draft4_validator_is_chosen(self): + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-04/schema#"}, + Validator=validators.Draft4Validator, + ) + # Make sure it works without the empty fragment + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-04/schema"}, + Validator=validators.Draft4Validator, + ) + + def test_draft6_validator_is_chosen(self): + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-06/schema#"}, + Validator=validators.Draft6Validator, + ) + # Make sure it works without the empty fragment + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-06/schema"}, + Validator=validators.Draft6Validator, + ) + + def test_draft7_validator_is_chosen(self): + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-07/schema#"}, + Validator=validators.Draft7Validator, + ) + # Make sure it works without the empty fragment + self.assertUses( + schema={"$schema": "http://json-schema.org/draft-07/schema"}, + Validator=validators.Draft7Validator, + ) + + def test_draft202012_validator_is_chosen(self): + self.assertUses( + schema={ + "$schema": "https://json-schema.org/draft/2020-12/schema#", + }, + Validator=validators.Draft202012Validator, + ) + # Make sure it works without the empty fragment + self.assertUses( + schema={ + "$schema": "https://json-schema.org/draft/2020-12/schema", + }, + Validator=validators.Draft202012Validator, + ) + + def test_draft202012_validator_is_the_default(self): + self.assertUses(schema={}, Validator=validators.Draft202012Validator) + + def test_validation_error_message(self): + with self.assertRaises(exceptions.ValidationError) as e: + validators.validate(12, {"type": "string"}) + self.assertRegex( + str(e.exception), + "(?s)Failed validating '.*' in schema.*On instance", + ) + + def test_schema_error_message(self): + with self.assertRaises(exceptions.SchemaError) as e: + validators.validate(12, {"type": 12}) + self.assertRegex( + str(e.exception), + "(?s)Failed validating '.*' in metaschema.*On schema", + ) + + def test_it_uses_best_match(self): + schema = { + "oneOf": [ + {"type": "number", "minimum": 20}, + {"type": "array"}, + ], + } + with self.assertRaises(exceptions.ValidationError) as e: + validators.validate(12, schema) + self.assertIn("12 is less than the minimum of 20", str(e.exception)) + + +class TestThreading(TestCase): + """ + Threading-related functionality tests. + + jsonschema doesn't promise thread safety, and its validation behavior + across multiple threads may change at any time, but that means it isn't + safe to share *validators* across threads, not that anytime one has + multiple threads that jsonschema won't work (it certainly is intended to). + + These tests ensure that this minimal level of functionality continues to + work. + """ + + def test_validation_across_a_second_thread(self): + failed = [] + + def validate(): + try: + validators.validate(instance=37, schema=True) + except: # pragma: no cover # noqa: E722 + failed.append(sys.exc_info()) + + validate() # just verify it succeeds + + from threading import Thread + thread = Thread(target=validate) + thread.start() + thread.join() + self.assertEqual((thread.is_alive(), failed), (False, [])) + + +class TestReferencing(TestCase): + def test_registry_with_retrieve(self): + def retrieve(uri): + return DRAFT202012.create_resource({"type": "integer"}) + + registry = referencing.Registry(retrieve=retrieve) + schema = {"$ref": "https://example.com/"} + validator = validators.Draft202012Validator(schema, registry=registry) + + self.assertEqual( + (validator.is_valid(12), validator.is_valid("foo")), + (True, False), + ) + + def test_custom_registries_do_not_autoretrieve_remote_resources(self): + registry = referencing.Registry() + schema = {"$ref": "https://example.com/"} + validator = validators.Draft202012Validator(schema, registry=registry) + + with warnings.catch_warnings(record=True) as w: + warnings.simplefilter("always") + with self.assertRaises(referencing.exceptions.Unresolvable): + validator.validate(12) + self.assertFalse(w) + + +class TestRefResolver(TestCase): + + base_uri = "" + stored_uri = "foo://stored" + stored_schema = {"stored": "schema"} + + def setUp(self): + self.referrer = {} + self.store = {self.stored_uri: self.stored_schema} + self.resolver = validators._RefResolver( + self.base_uri, self.referrer, self.store, + ) + + def test_it_does_not_retrieve_schema_urls_from_the_network(self): + ref = validators.Draft3Validator.META_SCHEMA["id"] + with mock.patch.object(self.resolver, "resolve_remote") as patched: + with self.resolver.resolving(ref) as resolved: + pass + self.assertEqual(resolved, validators.Draft3Validator.META_SCHEMA) + self.assertFalse(patched.called) + + def test_it_resolves_local_refs(self): + ref = "#/properties/foo" + self.referrer["properties"] = {"foo": object()} + with self.resolver.resolving(ref) as resolved: + self.assertEqual(resolved, self.referrer["properties"]["foo"]) + + def test_it_resolves_local_refs_with_id(self): + schema = {"id": "http://bar/schema#", "a": {"foo": "bar"}} + resolver = validators._RefResolver.from_schema( + schema, + id_of=lambda schema: schema.get("id", ""), + ) + with resolver.resolving("#/a") as resolved: + self.assertEqual(resolved, schema["a"]) + with resolver.resolving("http://bar/schema#/a") as resolved: + self.assertEqual(resolved, schema["a"]) + + def test_it_retrieves_stored_refs(self): + with self.resolver.resolving(self.stored_uri) as resolved: + self.assertIs(resolved, self.stored_schema) + + self.resolver.store["cached_ref"] = {"foo": 12} + with self.resolver.resolving("cached_ref#/foo") as resolved: + self.assertEqual(resolved, 12) + + def test_it_retrieves_unstored_refs_via_requests(self): + ref = "http://bar#baz" + schema = {"baz": 12} + + if "requests" in sys.modules: # pragma: no cover + self.addCleanup( + sys.modules.__setitem__, "requests", sys.modules["requests"], + ) + sys.modules["requests"] = ReallyFakeRequests({"http://bar": schema}) + + with self.resolver.resolving(ref) as resolved: + self.assertEqual(resolved, 12) + + def test_it_retrieves_unstored_refs_via_urlopen(self): + ref = "http://bar#baz" + schema = {"baz": 12} + + if "requests" in sys.modules: # pragma: no cover + self.addCleanup( + sys.modules.__setitem__, "requests", sys.modules["requests"], + ) + sys.modules["requests"] = None + + @contextmanager + def fake_urlopen(url): + self.assertEqual(url, "http://bar") + yield BytesIO(json.dumps(schema).encode("utf8")) + + self.addCleanup(setattr, validators, "urlopen", validators.urlopen) + validators.urlopen = fake_urlopen + + with self.resolver.resolving(ref) as resolved: + pass + self.assertEqual(resolved, 12) + + def test_it_retrieves_local_refs_via_urlopen(self): + with tempfile.NamedTemporaryFile(delete=False, mode="wt") as tempf: + self.addCleanup(os.remove, tempf.name) + json.dump({"foo": "bar"}, tempf) + + ref = f"file://{pathname2url(tempf.name)}#foo" + with self.resolver.resolving(ref) as resolved: + self.assertEqual(resolved, "bar") + + def test_it_can_construct_a_base_uri_from_a_schema(self): + schema = {"id": "foo"} + resolver = validators._RefResolver.from_schema( + schema, + id_of=lambda schema: schema.get("id", ""), + ) + self.assertEqual(resolver.base_uri, "foo") + self.assertEqual(resolver.resolution_scope, "foo") + with resolver.resolving("") as resolved: + self.assertEqual(resolved, schema) + with resolver.resolving("#") as resolved: + self.assertEqual(resolved, schema) + with resolver.resolving("foo") as resolved: + self.assertEqual(resolved, schema) + with resolver.resolving("foo#") as resolved: + self.assertEqual(resolved, schema) + + def test_it_can_construct_a_base_uri_from_a_schema_without_id(self): + schema = {} + resolver = validators._RefResolver.from_schema(schema) + self.assertEqual(resolver.base_uri, "") + self.assertEqual(resolver.resolution_scope, "") + with resolver.resolving("") as resolved: + self.assertEqual(resolved, schema) + with resolver.resolving("#") as resolved: + self.assertEqual(resolved, schema) + + def test_custom_uri_scheme_handlers(self): + def handler(url): + self.assertEqual(url, ref) + return schema + + schema = {"foo": "bar"} + ref = "foo://bar" + resolver = validators._RefResolver("", {}, handlers={"foo": handler}) + with resolver.resolving(ref) as resolved: + self.assertEqual(resolved, schema) + + def test_cache_remote_on(self): + response = [object()] + + def handler(url): + try: + return response.pop() + except IndexError: # pragma: no cover + self.fail("Response must not have been cached!") + + ref = "foo://bar" + resolver = validators._RefResolver( + "", {}, cache_remote=True, handlers={"foo": handler}, + ) + with resolver.resolving(ref): + pass + with resolver.resolving(ref): + pass + + def test_cache_remote_off(self): + response = [object()] + + def handler(url): + try: + return response.pop() + except IndexError: # pragma: no cover + self.fail("Handler called twice!") + + ref = "foo://bar" + resolver = validators._RefResolver( + "", {}, cache_remote=False, handlers={"foo": handler}, + ) + with resolver.resolving(ref): + pass + + def test_if_you_give_it_junk_you_get_a_resolution_error(self): + error = ValueError("Oh no! What's this?") + + def handler(url): + raise error + + ref = "foo://bar" + resolver = validators._RefResolver("", {}, handlers={"foo": handler}) + with self.assertRaises(exceptions._RefResolutionError) as err: + with resolver.resolving(ref): + self.fail("Shouldn't get this far!") # pragma: no cover + self.assertEqual(err.exception, exceptions._RefResolutionError(error)) + + def test_helpful_error_message_on_failed_pop_scope(self): + resolver = validators._RefResolver("", {}) + resolver.pop_scope() + with self.assertRaises(exceptions._RefResolutionError) as exc: + resolver.pop_scope() + self.assertIn("Failed to pop the scope", str(exc.exception)) + + def test_pointer_within_schema_with_different_id(self): + """ + See #1085. + """ + schema = validators.Draft7Validator.META_SCHEMA + one = validators._RefResolver("", schema) + validator = validators.Draft7Validator(schema, resolver=one) + self.assertFalse(validator.is_valid({"maxLength": "foo"})) + + another = { + "allOf": [{"$ref": validators.Draft7Validator.META_SCHEMA["$id"]}], + } + two = validators._RefResolver("", another) + validator = validators.Draft7Validator(another, resolver=two) + self.assertFalse(validator.is_valid({"maxLength": "foo"})) + + def test_newly_created_validator_with_ref_resolver(self): + """ + See https://github.com/python-jsonschema/jsonschema/issues/1061#issuecomment-1624266555. + """ + + def handle(uri): + self.assertEqual(uri, "http://example.com/foo") + return {"type": "integer"} + + resolver = validators._RefResolver("", {}, handlers={"http": handle}) + Validator = validators.create( + meta_schema={}, + validators=validators.Draft4Validator.VALIDATORS, + ) + schema = {"$id": "http://example.com/bar", "$ref": "foo"} + validator = Validator(schema, resolver=resolver) + self.assertEqual( + (validator.is_valid({}), validator.is_valid(37)), + (False, True), + ) + + def test_refresolver_with_pointer_in_schema_with_no_id(self): + """ + See https://github.com/python-jsonschema/jsonschema/issues/1124#issuecomment-1632574249. + """ + + schema = { + "properties": {"x": {"$ref": "#/definitions/x"}}, + "definitions": {"x": {"type": "integer"}}, + } + + validator = validators.Draft202012Validator( + schema, + resolver=validators._RefResolver("", schema), + ) + self.assertEqual( + (validator.is_valid({"x": "y"}), validator.is_valid({"x": 37})), + (False, True), + ) + + + +def sorted_errors(errors): + def key(error): + return ( + [str(e) for e in error.path], + [str(e) for e in error.schema_path], + ) + return sorted(errors, key=key) + + +@define +class ReallyFakeRequests: + + _responses: dict[str, Any] + + def get(self, url): + response = self._responses.get(url) + if url is None: # pragma: no cover + raise ValueError("Unknown URL: " + repr(url)) + return _ReallyFakeJSONResponse(json.dumps(response)) + + +@define +class _ReallyFakeJSONResponse: + + _response: str + + def json(self): + return json.loads(self._response) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..202b72ed44db6f4a4c668cc7b5753f4aaebd21d7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3531d03515c8cb479e59fb2299ce58b625200bf0 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__pycache__/emoji.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__pycache__/emoji.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2fa514a23d62ac1e2d50bbb0c653d006205d2cf9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/__pycache__/emoji.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/emoji.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/emoji.py new file mode 100644 index 0000000000000000000000000000000000000000..c8c955cc4b3496a0607fdbab188c6817b25cae76 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/extensions/emoji.py @@ -0,0 +1,98 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from __future__ import annotations + +import codecs +import functools +import material +import os + +from glob import iglob +from inspect import getfile +from markdown import Markdown +from pymdownx import emoji, twemoji_db +from xml.etree.ElementTree import Element + +# ----------------------------------------------------------------------------- +# Functions +# ----------------------------------------------------------------------------- + +# Create twemoji index +def twemoji(options: object, md: Markdown): + paths = options.get("custom_icons", [])[:] + return _load_twemoji_index(tuple(paths)) + +# Create emoji or icon +def to_svg( + index: str, shortname: str, alias: str, uc: str | None, alt: str, + title: str, category: str, options: object, md: Markdown +): + if not uc: + icons = md.inlinePatterns["emoji"].emoji_index["emoji"] + + # Create and return element to host icon + el = Element("span", { "class": options.get("classes", index) }) + el.text = md.htmlStash.store(_load(icons[shortname]["path"])) + return el + + # Delegate to `pymdownx.emoji` extension + return emoji.to_svg( + index, shortname, alias, uc, alt, title, category, options, md + ) + +# ----------------------------------------------------------------------------- +# Helper functions +# ----------------------------------------------------------------------------- + +# Load icon +@functools.lru_cache(maxsize = None) +def _load(file: str): + with codecs.open(file, encoding = "utf-8") as f: + return f.read() + +# Load twemoji index and add icons +@functools.lru_cache(maxsize = None) +def _load_twemoji_index(paths): + index = { + "name": "twemoji", + "emoji": twemoji_db.emoji, + "aliases": twemoji_db.aliases + } + + # Compute path to theme root and traverse all icon directories + root = os.path.dirname(getfile(material)) + root = os.path.join(root, "templates", ".icons") + for path in [*paths, root]: + base = os.path.normpath(path) + + # Index icons provided by the theme and via custom icons + glob = os.path.join(base, "**", "*.svg") + glob = iglob(os.path.normpath(glob), recursive = True) + for file in glob: + icon = file[len(base) + 1:-4].replace(os.path.sep, "-") + + # Add icon to index + name = f":{icon}:" + if not any(name in index[key] for key in ["emoji", "aliases"]): + index["emoji"][name] = { "name": name, "path": file } + + # Return index + return index diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7ff986de4f07b876788a656fa15962787b9bcbac Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..33adf6611ae52401efb25b18e07c9528e27fd9bd Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/author.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/author.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5b942c4907de7955439630f5bc68a8fd2d2e4482 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/author.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..602e981d3865a93e705746284e29a36fcd97df53 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..434a4f29af43ae157925b08a529be469b11545ae Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/author.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/author.py new file mode 100644 index 0000000000000000000000000000000000000000..2305a8e1b441bcba1858454e1537b4ae8cfaa50a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/author.py @@ -0,0 +1,40 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.base import Config +from mkdocs.config.config_options import DictOfItems, Optional, SubConfig, Type + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Author +class Author(Config): + name = Type(str) + description = Type(str) + avatar = Type(str) + slug = Optional(Type(str)) + url = Optional(Type(str)) + +# ----------------------------------------------------------------------------- + +# Authors +class Authors(Config): + authors = DictOfItems(SubConfig(Author), default = {}) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/config.py new file mode 100644 index 0000000000000000000000000000000000000000..19ef5d7acd557a09f755144fb6ef1a0054043cba --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/config.py @@ -0,0 +1,88 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from collections.abc import Callable +from mkdocs.config.config_options import Choice, Deprecated, Optional, Type +from mkdocs.config.base import Config +from pymdownx.slugs import slugify + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Blog plugin configuration +class BlogConfig(Config): + enabled = Type(bool, default = True) + + # Settings for blog + blog_dir = Type(str, default = "blog") + blog_toc = Type(bool, default = False) + + # Settings for posts + post_dir = Type(str, default = "{blog}/posts") + post_date_format = Type(str, default = "long") + post_url_date_format = Type(str, default = "yyyy/MM/dd") + post_url_format = Type(str, default = "{date}/{slug}") + post_url_max_categories = Type(int, default = 1) + post_slugify = Type(Callable, default = slugify(case = "lower")) + post_slugify_separator = Type(str, default = "-") + post_excerpt = Choice(["optional", "required"], default = "optional") + post_excerpt_max_authors = Type(int, default = 1) + post_excerpt_max_categories = Type(int, default = 5) + post_excerpt_separator = Type(str, default = "") + post_readtime = Type(bool, default = True) + post_readtime_words_per_minute = Type(int, default = 265) + + # Settings for archive + archive = Type(bool, default = True) + archive_name = Type(str, default = "blog.archive") + archive_date_format = Type(str, default = "yyyy") + archive_url_date_format = Type(str, default = "yyyy") + archive_url_format = Type(str, default = "archive/{date}") + archive_toc = Optional(Type(bool)) + + # Settings for categories + categories = Type(bool, default = True) + categories_name = Type(str, default = "blog.categories") + categories_url_format = Type(str, default = "category/{slug}") + categories_slugify = Type(Callable, default = slugify(case = "lower")) + categories_slugify_separator = Type(str, default = "-") + categories_allowed = Type(list, default = []) + categories_toc = Optional(Type(bool)) + + # Settings for authors + authors = Type(bool, default = True) + authors_file = Type(str, default = "{blog}/.authors.yml") + + # Settings for pagination + pagination = Type(bool, default = True) + pagination_per_page = Type(int, default = 10) + pagination_url_format = Type(str, default = "page/{page}") + pagination_format = Type(str, default = "~2~") + pagination_if_single_page = Type(bool, default = False) + pagination_keep_content = Type(bool, default = False) + + # Settings for drafts + draft = Type(bool, default = False) + draft_on_serve = Type(bool, default = True) + draft_if_future_date = Type(bool, default = False) + + # Deprecated settings + pagination_template = Deprecated(moved_to = "pagination_format") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..472c1aa7c84bbfd7cdd15576f63bf48c42f0f810 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/plugin.py @@ -0,0 +1,868 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from __future__ import annotations + +import logging +import os +import posixpath +import yaml + +from babel.dates import format_date +from datetime import datetime +from jinja2 import pass_context +from jinja2.runtime import Context +from mkdocs.config.defaults import MkDocsConfig +from mkdocs.exceptions import PluginError +from mkdocs.plugins import BasePlugin, event_priority +from mkdocs.structure import StructureItem +from mkdocs.structure.files import File, Files, InclusionLevel +from mkdocs.structure.nav import Navigation, Section +from mkdocs.structure.pages import Page +from mkdocs.utils import copy_file, get_relative_url +from mkdocs.utils.templates import url_filter +from paginate import Page as Pagination +from shutil import rmtree +from tempfile import mkdtemp +from yaml import SafeLoader + +from .author import Authors +from .config import BlogConfig +from .readtime import readtime +from .structure import Archive, Category, Excerpt, Post, View + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Blog plugin +class BlogPlugin(BasePlugin[BlogConfig]): + supports_multiple_instances = True + + # Initialize plugin + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # Initialize incremental builds + self.is_serve = False + self.is_dirty = False + + # Initialize temporary directory + self.temp_dir = mkdtemp() + + # Determine whether we're serving the site + def on_startup(self, *, command, dirty): + self.is_serve = command == "serve" + self.is_dirty = dirty + + # Initialize authors and set defaults + def on_config(self, config): + if not self.config.enabled: + return + + # Initialize entrypoint + self.blog: View + + # Initialize and resolve authors, if enabled + if self.config.authors: + self.authors = self._resolve_authors(config) + + # Initialize table of contents settings + if not isinstance(self.config.archive_toc, bool): + self.config.archive_toc = self.config.blog_toc + if not isinstance(self.config.categories_toc, bool): + self.config.categories_toc = self.config.blog_toc + + # By default, drafts are rendered when the documentation is served, + # but not when it is built, for a better user experience + if self.is_serve and self.config.draft_on_serve: + self.config.draft = True + + # Resolve and load posts and generate views (run later) - we want to allow + # other plugins to add generated posts or views, so we run this plugin as + # late as possible. We also need to remove the posts from the navigation + # before navigation is constructed, as the entrypoint should be considered + # to be the active page for each post. The URLs of posts are computed before + # Markdown processing, so that when linking to and from posts, behavior is + # exactly the same as with regular documentation pages. We create all pages + # related to posts as part of this plugin, so we control the entire process. + @event_priority(-50) + def on_files(self, files, *, config): + if not self.config.enabled: + return + + # Resolve path to entrypoint and site directory + root = posixpath.normpath(self.config.blog_dir) + site = config.site_dir + + # Compute and normalize path to posts directory + path = self.config.post_dir.format(blog = root) + path = posixpath.normpath(path) + + # Adjust destination paths for media files + for file in files.media_files(): + if not file.src_uri.startswith(path): + continue + + # We need to adjust destination paths for assets to remove the + # purely functional posts directory prefix when building + file.dest_uri = file.dest_uri.replace(path, root) + file.abs_dest_path = os.path.join(site, file.dest_path) + file.url = file.url.replace(path, root) + + # Resolve entrypoint and posts sorted by descending date - if the posts + # directory or entrypoint do not exist, they are automatically created + self.blog = self._resolve(files, config) + self.blog.posts = sorted( + self._resolve_posts(files, config), + key = lambda post: post.config.date.created, + reverse = True + ) + + # Generate views for archive + if self.config.archive: + self.blog.views.extend( + self._generate_archive(config, files) + ) + + # Generate views for categories + if self.config.categories: + self.blog.views.extend(sorted( + self._generate_categories(config, files), + key = lambda view: view.name, + reverse = False + )) + + # Generate pages for views + if self.config.pagination: + for view in self._resolve_views(self.blog): + for page in self._generate_pages(view, config, files): + view.pages.append(page) + + # Ensure that entrypoint is always included in navigation + self.blog.file.inclusion = InclusionLevel.INCLUDED + + # Attach posts and views to navigation (run later) - again, we allow other + # plugins to alter the navigation before we start to attach posts and views + # generated by this plugin at the correct locations in the navigation. Also, + # we make sure to correct links to the parent and siblings of each page. + @event_priority(-50) + def on_nav(self, nav, *, config, files): + if not self.config.enabled: + return + + # If we're not building a standalone blog, the entrypoint will always + # have a parent when it is included in the navigation. The parent is + # essential to correctly resolve the location where the archive and + # category views are attached. If the entrypoint doesn't have a parent, + # we know that the author did not include it in the navigation, so we + # explicitly mark it as not included. + if not self.blog.parent and self.config.blog_dir != ".": + self.blog.file.inclusion = InclusionLevel.NOT_IN_NAV + + # Attach posts to entrypoint without adding them to the navigation, so + # that the entrypoint is considered to be the active page for each post + self._attach(self.blog, [None, *reversed(self.blog.posts), None]) + for post in self.blog.posts: + post.file.inclusion = InclusionLevel.NOT_IN_NAV + + # Revert temporary exclusion of views from navigation + for view in self._resolve_views(self.blog): + view.file.inclusion = self.blog.file.inclusion + for page in view.pages: + page.file.inclusion = self.blog.file.inclusion + + # Attach views for archive + if self.config.archive: + title = self._translate(self.config.archive_name, config) + views = [_ for _ in self.blog.views if isinstance(_, Archive)] + + # Attach and link views for archive + if self.blog.file.inclusion.is_in_nav(): + self._attach_to(self.blog, Section(title, views), nav) + + # Attach views for categories + if self.config.categories: + title = self._translate(self.config.categories_name, config) + views = [_ for _ in self.blog.views if isinstance(_, Category)] + + # Attach and link views for categories, if any + if self.blog.file.inclusion.is_in_nav() and views: + self._attach_to(self.blog, Section(title, views), nav) + + # Attach pages for views + if self.config.pagination: + for view in self._resolve_views(self.blog): + for at in range(1, len(view.pages)): + self._attach_at(view.parent, view, view.pages[at]) + + # Prepare post for rendering (run later) - allow other plugins to alter + # the contents or metadata of a post before it is rendered and make sure + # that the post includes a separator, which is essential for rendering + # excerpts that should be included in views + @event_priority(-50) + def on_page_markdown(self, markdown, *, page, config, files): + if not self.config.enabled: + return + + # Skip if page is not a post managed by this instance - this plugin has + # support for multiple instances, which is why this check is necessary + if page not in self.blog.posts: + if not self.config.pagination: + return + + # We set the contents of the view to its title if pagination should + # not keep the content of the original view on paginated views + if not self.config.pagination_keep_content: + view = self._resolve_original(page) + if view in self._resolve_views(self.blog): + + # If the current view is paginated, use the rendered title + # of the original view in case the author set the title in + # the page's contents, or it would be overridden with the + # one set in mkdocs.yml, leading to inconsistent headings + assert isinstance(view, View) + if view != page: + name = view._title_from_render or view.title + return f"# {name}" + + # Nothing more to be done for views + return + + # Extract and assign authors to post, if enabled + if self.config.authors: + for name in page.config.authors: + if name not in self.authors: + raise PluginError(f"Couldn't find author '{name}'") + + # Append to list of authors + page.authors.append(self.authors[name]) + + # Extract settings for excerpts + separator = self.config.post_excerpt_separator + max_authors = self.config.post_excerpt_max_authors + max_categories = self.config.post_excerpt_max_categories + + # Ensure presence of separator and throw, if its absent and required - + # we append the separator to the end of the contents of the post, if it + # is not already present, so we can remove footnotes or other content + # from the excerpt without affecting the content of the excerpt + if separator not in page.markdown: + if self.config.post_excerpt == "required": + docs = os.path.relpath(config.docs_dir) + path = os.path.relpath(page.file.abs_src_path, docs) + raise PluginError( + f"Couldn't find '{separator}' in post '{path}' in '{docs}'" + ) + else: + page.markdown += f"\n\n{separator}" + + # Create excerpt for post and inherit authors and categories - excerpts + # can contain a subset of the authors and categories of the post + page.excerpt = Excerpt(page, config, files) + page.excerpt.authors = page.authors[:max_authors] + page.excerpt.categories = page.categories[:max_categories] + + # Process posts + def on_page_content(self, html, *, page, config, files): + if not self.config.enabled: + return + + # Skip if page is not a post managed by this instance - this plugin has + # support for multiple instances, which is why this check is necessary + if page not in self.blog.posts: + return + + # Compute readtime of post, if enabled and not explicitly set + if self.config.post_readtime: + words_per_minute = self.config.post_readtime_words_per_minute + if not page.config.readtime: + page.config.readtime = readtime(html, words_per_minute) + + # Register template filters for plugin + def on_env(self, env, *, config, files): + if not self.config.enabled: + return + + # Filter for formatting dates related to posts + def date_filter(date: datetime): + return self._format_date_for_post(date, config) + + # Patch URL template filter to add support for paginated views, i.e., + # that paginated views never link to themselves but to the main view + @pass_context + def url_filter_with_pagination(context: Context, url: str | None): + page = context["page"] + + # If the current page is a view, check if the URL links to the page + # itself, and replace it with the URL of the main view + if isinstance(page, View): + view = self._resolve_original(page) + if page.url == url: + url = view.url + + # Forward to original template filter + return url_filter(context, url) + + # Register custom template filters + env.filters["date"] = date_filter + env.filters["url"] = url_filter_with_pagination + + # Prepare view for rendering (run latest) - views are rendered last, as we + # need to mutate the navigation to account for pagination. The main problem + # is that we need to replace the view in the navigation, because otherwise + # the view would not be considered active. + @event_priority(-100) + def on_page_context(self, context, *, page, config, nav): + if not self.config.enabled: + return + + # Skip if page is not a view managed by this instance - this plugin has + # support for multiple instances, which is why this check is necessary + view = self._resolve_original(page) + if view not in self._resolve_views(self.blog): + return + + # Render excerpts and prepare pagination + posts, pagination = self._render(page) + + # Render pagination links + def pager(args: object): + return pagination.pager( + format = self.config.pagination_format, + show_if_single_page = self.config.pagination_if_single_page, + **args + ) + + # Assign posts and pagination to context + context["posts"] = posts + context["pagination"] = pager if pagination else None + + # Remove temporary directory on shutdown + def on_shutdown(self): + rmtree(self.temp_dir) + + # ------------------------------------------------------------------------- + + # Check if the given post is excluded + def _is_excluded(self, post: Post): + if self.config.draft: + return False + + # If a post was not explicitly marked or unmarked as draft, and the + # date should be taken into account, we automatically mark it as draft + # if the publishing date is in the future. This, of course, is opt-in + # and must be explicitly enabled by the author. + if not isinstance(post.config.draft, bool): + if self.config.draft_if_future_date: + return post.config.date.created > datetime.now() + + # Post might be a draft + return bool(post.config.draft) + + # ------------------------------------------------------------------------- + + # Resolve entrypoint - the entrypoint of the blog must have been created + # if it did not exist before, and hosts all posts sorted by descending date + def _resolve(self, files: Files, config: MkDocsConfig): + path = os.path.join(self.config.blog_dir, "index.md") + path = os.path.normpath(path) + + # Create entrypoint, if it does not exist - note that the entrypoint is + # created in the docs directory, not in the temporary directory + docs = os.path.relpath(config.docs_dir) + name = os.path.join(docs, path) + if not os.path.isfile(name): + file = self._path_to_file(path, config, temp = False) + files.append(file) + + # Create file in docs directory + self._save_to_file(file.abs_src_path, "# Blog\n\n") + + # Create and return entrypoint + file = files.get_file_from_path(path) + return View(None, file, config) + + # Resolve post - the caller must make sure that the given file points to an + # actual post (and not a page), or behavior might be unpredictable + def _resolve_post(self, file: File, config: MkDocsConfig): + post = Post(file, config) + + # Compute path and create a temporary file for path resolution + path = self._format_path_for_post(post, config) + temp = self._path_to_file(path, config, temp = False) + + # Replace destination file system path and URL + file.dest_uri = temp.dest_uri + file.abs_dest_path = temp.abs_dest_path + file.url = temp.url + + # Replace canonical URL and return post + post._set_canonical_url(config.site_url) + return post + + # Resolve posts from directory - traverse all documentation pages and filter + # and yield those that are located in the posts directory + def _resolve_posts(self, files: Files, config: MkDocsConfig): + path = self.config.post_dir.format(blog = self.config.blog_dir) + path = os.path.normpath(path) + + # Create posts directory, if it does not exist + docs = os.path.relpath(config.docs_dir) + name = os.path.join(docs, path) + if not os.path.isdir(name): + os.makedirs(name, exist_ok = True) + + # Filter posts from pages + for file in files.documentation_pages(): + if not file.src_path.startswith(path): + continue + + # Temporarily remove post from navigation + file.inclusion = InclusionLevel.EXCLUDED + + # Resolve post - in order to determine whether a post should be + # excluded, we must load it and analyze its metadata. All posts + # marked as drafts are excluded, except for when the author has + # configured drafts to be included in the navigation. + post = self._resolve_post(file, config) + if not self._is_excluded(post): + yield post + + # Resolve authors - check if there's an authors file at the configured + # location, and if one was found, load and validate it + def _resolve_authors(self, config: MkDocsConfig): + path = self.config.authors_file.format(blog = self.config.blog_dir) + path = os.path.normpath(path) + + # Resolve path relative to docs directory + docs = os.path.relpath(config.docs_dir) + file = os.path.join(docs, path) + + # If the authors file does not exist, return here + config: Authors = Authors() + if not os.path.isfile(file): + return config.authors + + # Open file and parse as YAML + with open(file, encoding = "utf-8") as f: + config.config_file_path = os.path.abspath(file) + try: + config.load_dict(yaml.load(f, SafeLoader) or {}) + + # The authors file could not be loaded because of a syntax error, + # which we display to the author with a nice error message + except Exception as e: + raise PluginError( + f"Error reading authors file '{path}' in '{docs}':\n" + f"{e}" + ) + + # Validate authors and throw if errors occurred + errors, warnings = config.validate() + for _, w in warnings: + log.warning(w) + for _, e in errors: + raise PluginError( + f"Error reading authors file '{path}' in '{docs}':\n" + f"{e}" + ) + + # Return authors + return config.authors + + # Resolve views of the given view in pre-order + def _resolve_views(self, view: View): + yield view + + # Resolve views recursively + for page in view.views: + for next in self._resolve_views(page): + assert isinstance(next, View) + yield next + + # Resolve siblings of a navigation item + def _resolve_siblings(self, item: StructureItem, nav: Navigation): + if isinstance(item.parent, Section): + return item.parent.children + else: + return nav.items + + # Resolve original page or view (e.g. for paginated views) + def _resolve_original(self, page: Page): + if isinstance(page, View) and page.pages: + return page.pages[0] + else: + return page + + # ------------------------------------------------------------------------- + + # Generate views for archive - analyze posts and generate the necessary + # views, taking the date format provided by the author into account + def _generate_archive(self, config: MkDocsConfig, files: Files): + for post in self.blog.posts: + date = post.config.date.created + + # Compute name and path of archive view + name = self._format_date_for_archive(date, config) + path = self._format_path_for_archive(post, config) + + # Create file for view, if it does not exist + file = files.get_file_from_path(path) + if not file or self.temp_dir not in file.abs_src_path: + file = self._path_to_file(path, config) + files.append(file) + + # Create file in temporary directory and temporarily remove + # from navigation, as we'll add it at a specific location + self._save_to_file(file.abs_src_path, f"# {name}") + file.inclusion = InclusionLevel.EXCLUDED + + # Create and yield view + if not isinstance(file.page, Archive): + yield Archive(name, file, config) + + # Assign post to archive + assert isinstance(file.page, Archive) + file.page.posts.append(post) + + # Generate views for categories - analyze posts and generate the necessary + # views, taking the allowed categories as set by the author into account + def _generate_categories(self, config: MkDocsConfig, files: Files): + for post in self.blog.posts: + for name in post.config.categories: + path = self._format_path_for_category(name) + + # Ensure category is in non-empty allow list + categories = self.config.categories_allowed or [name] + if name not in categories: + docs = os.path.relpath(config.docs_dir) + path = os.path.relpath(post.file.abs_src_path, docs) + raise PluginError( + f"Error reading categories of post '{path}' in " + f"'{docs}': category '{name}' not in allow list" + ) + + # Create file for view, if it does not exist + file = files.get_file_from_path(path) + if not file or self.temp_dir not in file.abs_src_path: + file = self._path_to_file(path, config) + files.append(file) + + # Create file in temporary directory and temporarily remove + # from navigation, as we'll add it at a specific location + self._save_to_file(file.abs_src_path, f"# {name}") + file.inclusion = InclusionLevel.EXCLUDED + + # Create and yield view + if not isinstance(file.page, Category): + yield Category(name, file, config) + + # Assign post to category and vice versa + assert isinstance(file.page, Category) + file.page.posts.append(post) + post.categories.append(file.page) + + # Generate pages for pagination - analyze view and generate the necessary + # pages, creating a chain of views for simple rendering and replacement + def _generate_pages(self, view: View, config: MkDocsConfig, files: Files): + yield view + + # Compute pagination boundaries and create pages - pages are internally + # handled as copies of a view, as they map to the same source location + step = self.config.pagination_per_page + for at in range(step, len(view.posts), step): + path = self._format_path_for_pagination(view, 1 + at // step) + + # Create file for view, if it does not exist + file = files.get_file_from_path(path) + if not file or self.temp_dir not in file.abs_src_path: + file = self._path_to_file(path, config) + files.append(file) + + # Copy file to temporary directory and temporarily remove + # from navigation, as we'll add it at a specific location + copy_file(view.file.abs_src_path, file.abs_src_path) + file.inclusion = InclusionLevel.EXCLUDED + + # Create and yield view + if not isinstance(file.page, View): + yield view.__class__(None, file, config) + + # Assign pages and posts to view + assert isinstance(file.page, View) + file.page.pages = view.pages + file.page.posts = view.posts + + # ------------------------------------------------------------------------- + + # Attach a list of pages to each other and to the given parent item without + # explicitly adding them to the navigation, which can be done by the caller + def _attach(self, parent: StructureItem, pages: list[Page]): + for tail, page, head in zip(pages, pages[1:], pages[2:]): + + # Link page to parent and siblings + page.parent = parent + page.previous_page = tail + page.next_page = head + + # If the page is a view, we know that we generated it and need to + # link its siblings back to the view + if isinstance(page, View): + view = self._resolve_original(page) + if tail: tail.next_page = view + if head: head.previous_page = view + + # Attach a page to the given parent and link it to the previous and next + # page of the given host - this is exclusively used for paginated views + def _attach_at(self, parent: StructureItem, host: Page, page: Page): + self._attach(parent, [host.previous_page, page, host.next_page]) + + # Attach a section as a sibling to the given view, make sure its pages are + # part of the navigation, and ensure all pages are linked correctly + def _attach_to(self, view: View, section: Section, nav: Navigation): + section.parent = view.parent + + # Resolve siblings, which are the children of the parent section, or + # the top-level list of navigation items if the view is at the root of + # the project, and append the given section to it. It's currently not + # possible to chose the position of a section. + items = self._resolve_siblings(view, nav) + items.append(section) + + # Find last sibling that is a page, skipping sections, as we need to + # append the given section after all other pages + tail = next(item for item in reversed(items) if isinstance(item, Page)) + head = tail.next_page + + # Attach section to navigation and pages to each other + nav.pages.extend(section.children) + self._attach(section, [tail, *section.children, head]) + + # ------------------------------------------------------------------------- + + # Render excerpts and pagination for the given view + def _render(self, view: View): + posts, pagination = view.posts, None + + # Create pagination, if enabled + if self.config.pagination: + at = view.pages.index(view) + + # Compute pagination boundaries + step = self.config.pagination_per_page + p, q = at * step, at * step + step + + # Extract posts in pagination boundaries + posts = view.posts[p:q] + pagination = self._render_pagination(view, (p, q)) + + # Render excerpts for selected posts + posts = [ + self._render_post(post.excerpt, view) + for post in posts if post.excerpt + ] + + # Return posts and pagination + return posts, pagination + + # Render excerpt in the context of the given view + def _render_post(self, excerpt: Excerpt, view: View): + excerpt.render(view, self.config.post_excerpt_separator) + + # Determine whether to add posts to the table of contents of the view - + # note that those settings can be changed individually for each type of + # view, which is why we need to check the type of view and the table of + # contents setting for that type of view + toc = self.config.blog_toc + if isinstance(view, Archive): + toc = self.config.archive_toc + if isinstance(view, Category): + toc = self.config.categories_toc + + # Attach top-level table of contents item to view if it should be added + # and both, the view and excerpt contain table of contents items + if toc and excerpt.toc.items and view.toc.items: + view.toc.items[0].children.append(excerpt.toc.items[0]) + + # Return excerpt + return excerpt + + # Create pagination for the given view and range + def _render_pagination(self, view: View, range: tuple[int, int]): + p, q = range + + # Create URL from the given page to another page + def url_maker(n: int): + return get_relative_url(view.pages[n - 1].url, view.url) + + # Return pagination + return Pagination( + view.posts, page = q // (q - p), + items_per_page = q - p, + url_maker = url_maker + ) + + # ------------------------------------------------------------------------- + + # Format path for post + def _format_path_for_post(self, post: Post, config: MkDocsConfig): + categories = post.config.categories[:self.config.post_url_max_categories] + categories = [self._slugify_category(name) for name in categories] + + # Replace placeholders in format string + date = post.config.date.created + path = self.config.post_url_format.format( + categories = "/".join(categories), + date = self._format_date_for_post_url(date, config), + file = post.file.name, + slug = post.config.slug or self._slugify_post(post) + ) + + # Normalize path and strip slashes at the beginning and end + path = posixpath.normpath(path.strip("/")) + return posixpath.join(self.config.blog_dir, f"{path}.md") + + # Format path for archive + def _format_path_for_archive(self, post: Post, config: MkDocsConfig): + date = post.config.date.created + path = self.config.archive_url_format.format( + date = self._format_date_for_archive_url(date, config) + ) + + # Normalize path and strip slashes at the beginning and end + path = posixpath.normpath(path.strip("/")) + return posixpath.join(self.config.blog_dir, f"{path}.md") + + # Format path for category + def _format_path_for_category(self, name: str): + path = self.config.categories_url_format.format( + slug = self._slugify_category(name) + ) + + # Normalize path and strip slashes at the beginning and end + path = posixpath.normpath(path.strip("/")) + return posixpath.join(self.config.blog_dir, f"{path}.md") + + # Format path for pagination + def _format_path_for_pagination(self, view: View, page: int): + path = self.config.pagination_url_format.format( + page = page + ) + + # Compute base path for pagination - if the given view is an index file, + # we need to pop the file name from the base so it's not part of the URL + # and we need to append `index` to the path, so the paginated view is + # also an index page - see https://t.ly/71MKF + base, _ = posixpath.splitext(view.file.src_uri) + if view.is_index: + base = posixpath.dirname(base) + path = posixpath.join(path, "index") + + # Normalize path and strip slashes at the beginning and end + path = posixpath.normpath(path.strip("/")) + return posixpath.join(base, f"{path}.md") + + # ------------------------------------------------------------------------- + + # Format date + def _format_date(self, date: datetime, format: str, config: MkDocsConfig): + locale: str = config.theme["language"].replace("-", "_") + return format_date(date, format = format, locale = locale) + + # Format date for post + def _format_date_for_post(self, date: datetime, config: MkDocsConfig): + format = self.config.post_date_format + return self._format_date(date, format, config) + + # Format date for post URL + def _format_date_for_post_url(self, date: datetime, config: MkDocsConfig): + format = self.config.post_url_date_format + return self._format_date(date, format, config) + + # Format date for archive + def _format_date_for_archive(self, date: datetime, config: MkDocsConfig): + format = self.config.archive_date_format + return self._format_date(date, format, config) + + # Format date for archive URL + def _format_date_for_archive_url(self, date: datetime, config: MkDocsConfig): + format = self.config.archive_url_date_format + return self._format_date(date, format, config) + + # ------------------------------------------------------------------------- + + # Slugify post title + def _slugify_post(self, post: Post): + separator = self.config.post_slugify_separator + return self.config.post_slugify(post.title, separator) + + # Slugify category + def _slugify_category(self, name: str): + separator = self.config.categories_slugify_separator + return self.config.categories_slugify(name, separator) + + # ------------------------------------------------------------------------- + + # Create a file for the given path, which must point to a valid source file, + # either inside the temporary directory or the docs directory + def _path_to_file(self, path: str, config: MkDocsConfig, *, temp = True): + assert path.endswith(".md") + file = File( + path, + config.docs_dir if not temp else self.temp_dir, + config.site_dir, + config.use_directory_urls + ) + + # Hack: mark file as generated, so other plugins don't think it's part + # of the file system. This is more or less a new quasi-standard that + # still needs to be adopted by MkDocs, and was introduced by the + # git-revision-date-localized-plugin - see https://bit.ly/3ZUmdBx + if temp: + file.generated_by = "material/blog" + + # Return file + return file + + # Create a file with the given content on disk + def _save_to_file(self, path: str, content: str): + os.makedirs(os.path.dirname(path), exist_ok = True) + with open(path, "w", encoding = "utf-8") as f: + f.write(content) + + # ------------------------------------------------------------------------- + + # Translate the placeholder referenced by the given key + def _translate(self, key: str, config: MkDocsConfig) -> str: + env = config.theme.get_env() + template = env.get_template( + "partials/language.html", globals = { "config": config } + ) + + # Translate placeholder + return template.module.t(key) + +# ----------------------------------------------------------------------------- +# Data +# ----------------------------------------------------------------------------- + +# Set up logging +log = logging.getLogger("mkdocs.material.blog") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..a0c149b98ab0665d670c1f7f2a5a89f542a58608 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__init__.py @@ -0,0 +1,51 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +import re + +from math import ceil + +from .parser import ReadtimeParser + +# ----------------------------------------------------------------------------- +# Functions +# ----------------------------------------------------------------------------- + +# Compute readtime - we first used the original readtime library, but the list +# of dependencies it brings with it increased the size of the Docker image by +# 20 MB (packed), which is an increase of 50%. For this reason, we adapt the +# original readtime algorithm to our needs - see https://t.ly/fPZ7L +def readtime(html: str, words_per_minute: int): + parser = ReadtimeParser() + parser.feed(html) + parser.close() + + # Extract words from text and compute readtime in seconds + words = len(re.split(r"\W+", "".join(parser.text))) + seconds = ceil(words / words_per_minute * 60) + + # Account for additional images + delta = 12 + for _ in range(parser.images): + seconds += delta + if delta > 3: delta -= 1 + + # Return readtime in minutes + return ceil(seconds / 60) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..92b97d12035bad16ad079477b3425a91f7b12d22 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__pycache__/parser.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__pycache__/parser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cd3eb1822b7d0af0223fa78ce883036277d8c780 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/__pycache__/parser.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/parser.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/parser.py new file mode 100644 index 0000000000000000000000000000000000000000..b91a7b3095ba81c7fd2bee7b092b64b88dbdf357 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/readtime/parser.py @@ -0,0 +1,45 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from html.parser import HTMLParser + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Readtime parser +class ReadtimeParser(HTMLParser): + + # Initialize parser + def __init__(self): + super().__init__(convert_charrefs = True) + + # Keep track of text and images + self.text = [] + self.images = 0 + + # Collect images + def handle_starttag(self, tag, attrs): + if tag == "img": + self.images += 1 + + # Collect text + def handle_data(self, data): + self.text.append(data) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..7e7f26c71fdacd18ff2975774caf3f69d2d13727 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__init__.py @@ -0,0 +1,300 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from __future__ import annotations + +import logging +import os +import yaml + +from copy import copy +from markdown import Markdown +from material.plugins.blog.author import Author +from mkdocs.config.defaults import MkDocsConfig +from mkdocs.exceptions import PluginError +from mkdocs.structure.files import File, Files +from mkdocs.structure.nav import Section +from mkdocs.structure.pages import Page, _RelativePathTreeprocessor +from mkdocs.structure.toc import get_toc +from mkdocs.utils.meta import YAML_RE +from re import Match +from yaml import SafeLoader + +from .config import PostConfig +from .markdown import ExcerptTreeprocessor + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Post +class Post(Page): + + # Initialize post - posts are never listed in the navigation, which is why + # they will never include a title that was manually set, so we can omit it + def __init__(self, file: File, config: MkDocsConfig): + super().__init__(None, file, config) + + # Resolve path relative to docs directory + docs = os.path.relpath(config.docs_dir) + path = os.path.relpath(file.abs_src_path, docs) + + # Read contents and metadata immediately + with open(file.abs_src_path, encoding = "utf-8") as f: + self.markdown = f.read() + + # Sadly, MkDocs swallows any exceptions that occur during parsing. + # Since we want to provide the best possible user experience, we + # need to catch errors early and display them nicely. We decided to + # drop support for MkDocs' MultiMarkdown syntax, because it is not + # correctly implemented anyway. When using MultiMarkdown syntax, all + # date formats are returned as strings and list are not properly + # supported. Thus, we just use the relevants parts of `get_data`. + match: Match = YAML_RE.match(self.markdown) + if not match: + raise PluginError( + f"Error reading metadata of post '{path}' in '{docs}':\n" + f"Expected metadata to be defined but found nothing" + ) + + # Extract metadata and parse as YAML + try: + self.meta = yaml.load(match.group(1), SafeLoader) or {} + self.markdown = self.markdown[match.end():].lstrip("\n") + + # The post's metadata could not be parsed because of a syntax error, + # which we display to the author with a nice error message + except Exception as e: + raise PluginError( + f"Error reading metadata of post '{path}' in '{docs}':\n" + f"{e}" + ) + + # Initialize post configuration, but remove all keys that this plugin + # doesn't care about, or they will be reported as invalid configuration + self.config: PostConfig = PostConfig(file.abs_src_path) + self.config.load_dict({ + key: self.meta[key] for key in ( + set(self.meta.keys()) & + set(self.config.keys()) + ) + }) + + # Validate configuration and throw if errors occurred + errors, warnings = self.config.validate() + for _, w in warnings: + log.warning(w) + for k, e in errors: + raise PluginError( + f"Error reading metadata '{k}' of post '{path}' in '{docs}':\n" + f"{e}" + ) + + # Excerpts are subsets of posts that are used in pages like archive and + # category views. They are not rendered as standalone pages, but are + # rendered in the context of a view. Each post has a dedicated excerpt + # instance which is reused when rendering views. + self.excerpt: Excerpt = None + + # Initialize authors and actegories + self.authors: list[Author] = [] + self.categories: list[Category] = [] + + # Ensure template is set or use default + self.meta.setdefault("template", "blog-post.html") + + # Ensure template hides navigation + self.meta["hide"] = self.meta.get("hide", []) + if "navigation" not in self.meta["hide"]: + self.meta["hide"].append("navigation") + + # The contents and metadata were already read in the constructor (and not + # in `read_source` as for pages), so this function must be set to a no-op + def read_source(self, config: MkDocsConfig): + pass + +# ----------------------------------------------------------------------------- + +# Excerpt +class Excerpt(Page): + + # Initialize an excerpt for the given post - we create the Markdown parser + # when intitializing the excerpt in order to improve rendering performance + # for excerpts, as they are reused across several different views, because + # posts might be referenced from multiple different locations + def __init__(self, post: Post, config: MkDocsConfig, files: Files): + self.file = copy(post.file) + self.post = post + + # Set canonical URL, or we can't print excerpts when debugging the + # blog plugin, as the `abs_url` property would be missing + self._set_canonical_url(config.site_url) + + # Initialize configuration and metadata + self.config = post.config + self.meta = post.meta + + # Initialize authors and categories - note that views usually contain + # subsets of those lists, which is why we need to manage them here + self.authors: list[Author] = [] + self.categories: list[Category] = [] + + # Initialize parser - note that we need to patch the configuration, + # more specifically the table of contents extension + config = _patch(config) + self.md = Markdown( + extensions = config.markdown_extensions, + extension_configs = config.mdx_configs, + ) + + # Register excerpt tree processor - this processor resolves anchors to + # posts from within views, so they point to the correct location + self.md.treeprocessors.register( + ExcerptTreeprocessor(post), + "excerpt", + 0 + ) + + # Register relative path tree processor - this processor resolves links + # to other pages and assets, and is used by MkDocs itself + self.md.treeprocessors.register( + _RelativePathTreeprocessor(self.file, files, config), + "relpath", + 1 + ) + + # Render an excerpt of the post on the given page - note that this is not + # thread-safe because excerpts are shared across views, as it cuts down on + # the cost of initialization. However, if in the future, we decide to render + # posts and views concurrently, we must change this behavior. + def render(self, page: Page, separator: str): + self.file.url = page.url + + # Retrieve excerpt tree processor and set page as base + at = self.md.treeprocessors.get_index_for_name("excerpt") + processor: ExcerptTreeprocessor = self.md.treeprocessors[at] + processor.base = page + + # Ensure that the excerpt includes a title in its content, since the + # title is linked to the post when rendering - see https://t.ly/5Gg2F + self.markdown = self.post.markdown + if not self.post._title_from_render: + self.markdown = "\n\n".join([f"# {self.post.title}", self.markdown]) + + # Convert Markdown to HTML and extract excerpt + self.content = self.md.convert(self.markdown) + self.content, *_ = self.content.split(separator, 1) + + # Extract table of contents and reset post URL - if we wouldn't reset + # the excerpt URL, linking to the excerpt from the view would not work + self.toc = get_toc(getattr(self.md, "toc_tokens", [])) + self.file.url = self.post.url + +# ----------------------------------------------------------------------------- + +# View +class View(Page): + + # Parent view + parent: View | Section + + # Initialize view + def __init__(self, name: str | None, file: File, config: MkDocsConfig): + super().__init__(None, file, config) + + # Initialize name of the view - note that views never pass a title to + # the parent constructor, so the author can always override the title + # that is used for rendering. However, for some purposes, like for + # example sorting, we need something to compare. + self.name = name + + # Initialize posts and views + self.posts: list[Post] = [] + self.views: list[View] = [] + + # Initialize pages for pagination + self.pages: list[View] = [] + + # Set necessary metadata + def read_source(self, config: MkDocsConfig): + super().read_source(config) + + # Ensure template is set or use default + self.meta.setdefault("template", "blog.html") + +# ----------------------------------------------------------------------------- + +# Archive view +class Archive(View): + pass + +# ----------------------------------------------------------------------------- + +# Category view +class Category(View): + pass + +# ----------------------------------------------------------------------------- +# Helper functions +# ----------------------------------------------------------------------------- + +# Patch configuration +def _patch(config: MkDocsConfig): + config = copy(config) + + # Copy parts of configuration that needs to be patched + config.validation = copy(config.validation) + config.validation.links = copy(config.validation.links) + config.markdown_extensions = copy(config.markdown_extensions) + config.mdx_configs = copy(config.mdx_configs) + + # Make sure that the author did not add another instance of the table of + # contents extension to the configuration, as this leads to weird behavior + if "markdown.extensions.toc" in config.markdown_extensions: + config.markdown_extensions.remove("markdown.extensions.toc") + + # In order to render excerpts for posts, we need to make sure that the + # table of contents extension is appropriately configured + config.mdx_configs["toc"] = { + **config.mdx_configs.get("toc", {}), + **{ + "anchorlink": True, # Render headline as clickable + "baselevel": 2, # Render h1 as h2 and so forth + "permalink": False, # Remove permalinks + "toc_depth": 2 # Remove everything below h2 + } + } + + # Additionally, we disable link validation when rendering excerpts, because + # invalid links have already been reported when rendering the page + links = config.validation.links + links.not_found = logging.DEBUG + links.absolute_links = logging.DEBUG + links.unrecognized_links = logging.DEBUG + + # Return patched configuration + return config + +# ----------------------------------------------------------------------------- +# Data +# ----------------------------------------------------------------------------- + +# Set up logging +log = logging.getLogger("mkdocs.material.blog") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..887d6f2ce6c55f3e6a30bf0152b006d145e0a3eb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3d70b74a471a68fc7dffaaa3a219014d4a31f387 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/markdown.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/markdown.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..36ecafbfb909356684cf46366eca14e42a5316b5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/markdown.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/options.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/options.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fd130602307877414baab20eba465c38481eb38a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/__pycache__/options.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/config.py new file mode 100644 index 0000000000000000000000000000000000000000..129491b9e6d3803160bb14db455788abdfe57ebf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/config.py @@ -0,0 +1,37 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.base import Config +from mkdocs.config.config_options import ListOfItems, Optional, Type + +from .options import PostDate + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Post configuration +class PostConfig(Config): + authors = ListOfItems(Type(str), default = []) + categories = ListOfItems(Type(str), default = []) + date = PostDate() + draft = Optional(Type(bool)) + readtime = Optional(Type(int)) + slug = Optional(Type(str)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/markdown.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/markdown.py new file mode 100644 index 0000000000000000000000000000000000000000..64ade5549ae8e72a24dd5b2f1c90cb34ffba80c6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/markdown.py @@ -0,0 +1,58 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from markdown.treeprocessors import Treeprocessor +from mkdocs.structure.pages import Page +from mkdocs.utils import get_relative_url +from xml.etree.ElementTree import Element + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Excerpt tree processor +class ExcerptTreeprocessor(Treeprocessor): + + # Initialize excerpt tree processor + def __init__(self, page: Page, base: Page = None): + self.page = page + self.base = base + + # Transform HTML after Markdown processing + def run(self, root: Element): + main = True + + # We're only interested in anchors, which is why we continue when the + # link does not start with an anchor tag + for el in root.iter("a"): + anchor = el.get("href") + if not anchor.startswith("#"): + continue + + # The main headline should link to the post page, not to a specific + # anchor, which is why we remove the anchor in that case + path = get_relative_url(self.page.url, self.base.url) + if main: + el.set("href", path) + else: + el.set("href", path + anchor) + + # Main headline has been seen + main = False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/options.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/options.py new file mode 100644 index 0000000000000000000000000000000000000000..eac8c43f3c43969be4ad2194630f3c51d6619dd6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/blog/structure/options.py @@ -0,0 +1,95 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from datetime import date, datetime, time +from mkdocs.config.base import BaseConfigOption, Config, ValidationError +from typing import Dict + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Date dictionary +class DateDict(Dict[str, datetime]): + + # Initialize date dictionary + def __init__(self, data: dict): + super().__init__(data) + + # Ensure presence of `date.created` + self.created: datetime = data["created"] + + # Allow attribute access + def __getattr__(self, name: str): + if name in self: + return self[name] + +# ----------------------------------------------------------------------------- + +# Post date option +class PostDate(BaseConfigOption[DateDict]): + + # Initialize post dates + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # Normalize the supported types for post dates to datetime + def pre_validation(self, config: Config, key_name: str): + + # If the date points to a scalar value, convert it to a dictionary, as + # we want to allow the author to specify custom and arbitrary dates for + # posts. Currently, only the `created` date is mandatory, because it's + # needed to sort posts for views. + if not isinstance(config[key_name], dict): + config[key_name] = { "created": config[key_name] } + + # Convert all date values to datetime + for key, value in config[key_name].items(): + + # Handle datetime - since datetime is a subclass of date, we need + # to check it first, or we lose the time - see https://t.ly/-KG9N + if isinstance(value, datetime): + continue + + # Handle date - we set 00:00:00 as the default time, if the author + # only supplied a date, and convert it to datetime + if isinstance(value, date): + config[key_name][key] = datetime.combine(value, time()) + + # Initialize date dictionary + config[key_name] = DateDict(config[key_name]) + + # Ensure each date value is of type datetime + def run_validation(self, value: DateDict): + for key in value: + if not isinstance(value[key], datetime): + raise ValidationError( + f"Expected type: {date} or {datetime} " + f"but received: {type(value[key])}" + ) + + # Ensure presence of `date.created` + if not value.created: + raise ValidationError( + "Expected 'created' date when using dictionary syntax" + ) + + # Return date dictionary + return value diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9a88da8ee83eb73fdfb1604adee0f1590dee82e1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3879c4806d81f52e0d0d162ac4f2e7682f736bf7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..026675c1f83521c681d4267b28f1d8c2f5586df4 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/config.py new file mode 100644 index 0000000000000000000000000000000000000000..198562123cdf6257f7e1a57326f8179a9ec8364a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/config.py @@ -0,0 +1,31 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.config_options import Type +from mkdocs.config.base import Config + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Group plugin configuration +class GroupConfig(Config): + enabled = Type(bool, default = False) + plugins = Type((list, dict)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..b91fda96a385fb239c8cdc9ea19544f7c2df83cc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/group/plugin.py @@ -0,0 +1,161 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from __future__ import annotations + +import logging + +from collections.abc import Callable +from mkdocs.config.config_options import Plugins +from mkdocs.config.defaults import MkDocsConfig +from mkdocs.exceptions import PluginError +from mkdocs.plugins import BasePlugin, event_priority + +from .config import GroupConfig + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Group plugin +class GroupPlugin(BasePlugin[GroupConfig]): + supports_multiple_instances = True + + # Initialize plugin + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # Initialize object attributes + self.is_serve = False + self.is_dirty = False + + # Determine whether we're serving the site + def on_startup(self, *, command, dirty): + self.is_serve = command == "serve" + self.is_dirty = dirty + + # If the group is enabled, conditionally load plugins - at first, this might + # sound easier than it actually is, as we need to jump through some hoops to + # ensure correct ordering among plugins. We're effectively initializing the + # plugins that are part of the group after all MkDocs finished initializing + # all other plugins, so we need to patch the order of the methods. Moreover, + # we must use MkDocs existing plugin collection, or we might have collisions + # with other plugins that are not part of the group. As so often, this is a + # little hacky, but has huge potential making plugin configuration easier. + # There's one little caveat: the `__init__` and `on_startup` methods of the + # plugins that are part of the group are called after all other plugins, so + # the `event_priority` decorator for `on_startup` methods is effectively + # useless. However, the `on_startup` method is only intended to set up the + # plugin and doesn't receive anything else than the invoked command and + # whether we're running a dirty build, so there should be no problems. + @event_priority(150) + def on_config(self, config): + if not self.config.enabled: + return + + # Retrieve plugin collection from configuration + option: Plugins = dict(config._schema)["plugins"] + assert isinstance(option, Plugins) + + # Load all plugins in group + self.plugins: dict[str, BasePlugin] = {} + try: + for name, plugin in self._load(option): + self.plugins[name] = plugin + + # The plugin could not be loaded, likely because it's not installed or + # misconfigured, so we raise a plugin error for a nicer error message + except Exception as e: + raise PluginError(str(e)) + + # Patch order of plugin methods + for events in option.plugins.events.values(): + self._patch(events, config) + + # Invoke `on_startup` event for plugins in group + command = "serve" if self.is_serve else "build" + for method in option.plugins.events["startup"]: + plugin = self._get_plugin(method) + + # Ensure that we have a method bound to a plugin (and not a hook) + if plugin and plugin in self.plugins.values(): + method(command = command, dirty = self.is_dirty) + + # ------------------------------------------------------------------------- + + # Retrieve plugin instance for bound method or nothing + def _get_plugin(self, method: Callable): + return getattr(method, "__self__", None) + + # Retrieve priority of plugin method + def _get_priority(self, method: Callable): + return getattr(method, "mkdocs_priority", 0) + + # Retrieve position of plugin + def _get_position(self, plugin: BasePlugin, config: MkDocsConfig) -> int: + for at, (_, candidate) in enumerate(config.plugins.items()): + if plugin == candidate: + return at + + # ------------------------------------------------------------------------- + + # Load plugins that are part of the group + def _load(self, option: Plugins): + for name, data in option._parse_configs(self.config.plugins): + yield option.load_plugin_with_namespace(name, data) + + # ------------------------------------------------------------------------- + + # Patch order of plugin methods - all other plugin methods are already in + # the right order, so we only need to check those that are part of the group + # and bubble them up into the right location. Some plugin methods may define + # priorities, so we need to make sure to order correctly within those. + def _patch(self, methods: list[Callable], config: MkDocsConfig): + position = self._get_position(self, config) + for at in reversed(range(1, len(methods))): + tail = methods[at - 1] + head = methods[at] + + # Skip if the plugin is not part of the group + plugin = self._get_plugin(head) + if not plugin or plugin not in self.plugins.values(): + continue + + # Skip if the previous method has a higher priority than the current + # one, because we know we can't swap them anyway + if self._get_priority(tail) > self._get_priority(head): + continue + + # Ensure that we have a method bound to a plugin (and not a hook) + plugin = self._get_plugin(tail) + if not plugin: + continue + + # Both methods have the same priority, so we check if the ordering + # of both methods is violated, and if it is, swap them + if (position < self._get_position(plugin, config)): + methods[at], methods[at - 1] = tail, head + +# ----------------------------------------------------------------------------- +# Data +# ----------------------------------------------------------------------------- + +# Set up logging +log = logging.getLogger("mkdocs.material.group") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6f3aeac8747100422a16771bd15850b087c46004 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a9be8ad5169ec9f16080fc363a6ce351f61845fd Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9389d0274b7dadf679d8dd023224b3f10e47bea6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/config.py new file mode 100644 index 0000000000000000000000000000000000000000..cbd64d4c0cb437b86a9188484c31e2a1cd02b3c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/config.py @@ -0,0 +1,35 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.config_options import Type +from mkdocs.config.base import Config + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Info plugin configuration +class InfoConfig(Config): + enabled = Type(bool, default = True) + enabled_on_serve = Type(bool, default = False) + + # Settings for archive + archive = Type(bool, default = True) + archive_stop_on_violation = Type(bool, default = True) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..4c8f7c73efc7adb6485e9024200c6a3d43cd0e41 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/info/plugin.py @@ -0,0 +1,245 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +import json +import logging +import os +import platform +import requests +import sys + +from colorama import Fore, Style +from importlib.metadata import distributions, version +from io import BytesIO +from markdown.extensions.toc import slugify +from mkdocs.plugins import BasePlugin, event_priority +from mkdocs.structure.files import get_files +from mkdocs.utils import get_theme_dir +from zipfile import ZipFile, ZIP_DEFLATED + +from .config import InfoConfig + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Info plugin +class InfoPlugin(BasePlugin[InfoConfig]): + + # Initialize plugin + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # Initialize incremental builds + self.is_serve = False + + # Determine whether we're serving the site + def on_startup(self, *, command, dirty): + self.is_serve = command == "serve" + + # Create a self-contained example (run earliest) - determine all files that + # are visible to MkDocs and are used to build the site, create an archive + # that contains all of them, and print a summary of the archive contents. + # The author must attach this archive to the bug report. + @event_priority(100) + def on_config(self, config): + if not self.config.enabled: + return + + # By default, the plugin is disabled when the documentation is served, + # but not when it is built. This should nicely align with the expected + # user experience when creating reproductions. + if not self.config.enabled_on_serve and self.is_serve: + return + + # Resolve latest version + url = "https://github.com/squidfunk/mkdocs-material/releases/latest" + res = requests.get(url, allow_redirects = False) + + # Check if we're running the latest version + _, current = res.headers.get("location").rsplit("/", 1) + present = version("mkdocs-material") + if not present.startswith(current): + log.error("Please upgrade to the latest version.") + self._help_on_versions_and_exit(present, current) + + # Exit if archive creation is disabled + if not self.config.archive: + sys.exit(1) + + # Print message that we're creating a bug report + log.info("Started archive creation for bug report") + + # Check that there are no overrides in place - we need to use a little + # hack to detect whether the custom_dir setting was used without parsing + # mkdocs.yml again - we check at which position the directory provided + # by the theme resides, and if it's not the first one, abort. + if config.theme.dirs.index(get_theme_dir(config.theme.name)): + log.error("Please remove 'custom_dir' setting.") + self._help_on_customizations_and_exit() + + # Check that there are no hooks in place - hooks can alter the behavior + # of MkDocs in unpredictable ways, which is why they must be considered + # being customizations. Thus, we can't offer support for debugging and + # must abort here. + if config.hooks: + log.error("Please remove 'hooks' setting.") + self._help_on_customizations_and_exit() + + # Create in-memory archive and prompt author for a short descriptive + # name for the archive, which is also used as the directory name. Note + # that the name is slugified for better readability and stripped of any + # file extension that the author might have entered. + archive = BytesIO() + example = input("\nPlease name your bug report (2-4 words): ") + example, _ = os.path.splitext(example) + example = "-".join([present, slugify(example, "-")]) + + # Create self-contained example from project + files: list[str] = [] + with ZipFile(archive, "a", ZIP_DEFLATED, False) as f: + for path in ["mkdocs.yml", "requirements.txt"]: + if os.path.isfile(path): + f.write(path, os.path.join(example, path)) + + # Append all files visible to MkDocs + for file in get_files(config): + path = os.path.relpath(file.abs_src_path, os.path.curdir) + f.write(path, os.path.join(example, path)) + + # Add information on installed packages + f.writestr( + os.path.join(example, "requirements.lock.txt"), + "\n".join(sorted([ + "==".join([package.name, package.version]) + for package in distributions() + ])) + ) + + # Add information on platform + f.writestr( + os.path.join(example, "platform.json"), + json.dumps( + { + "system": platform.platform(), + "python": platform.python_version() + }, + default = str, + indent = 2 + ) + ) + + # Retrieve list of processed files + for a in f.filelist: + files.append("".join([ + Fore.LIGHTBLACK_EX, a.filename, " ", + _size(a.compress_size) + ])) + + # Finally, write archive to disk + buffer = archive.getbuffer() + with open(f"{example}.zip", "wb") as f: + f.write(archive.getvalue()) + + # Print summary + log.info("Archive successfully created:") + print(Style.NORMAL) + + # Print archive file names + files.sort() + for file in files: + print(f" {file}") + + # Print archive name + print(Style.RESET_ALL) + print("".join([ + " ", f.name, " ", + _size(buffer.nbytes, 10) + ])) + + # Print warning when file size is excessively large + print(Style.RESET_ALL) + if buffer.nbytes > 1000000: + log.warning("Archive exceeds recommended maximum size of 1 MB") + + # Aaaaaand done + sys.exit(1) + + # ------------------------------------------------------------------------- + + # Print help on versions and exit + def _help_on_versions_and_exit(self, have, need): + print(Fore.RED) + print(" When reporting issues, please first upgrade to the latest") + print(" version of Material for MkDocs, as the problem might already") + print(" be fixed in the latest version. This helps reduce duplicate") + print(" efforts and saves us maintainers time.") + print(Style.NORMAL) + print(f" Please update from {have} to {need}.") + print(Style.RESET_ALL) + print(f" pip install --upgrade --force-reinstall mkdocs-material") + print(Style.NORMAL) + + # Exit, unless explicitly told not to + if self.config.archive_stop_on_violation: + sys.exit(1) + + # Print help on customizations and exit + def _help_on_customizations_and_exit(self): + print(Fore.RED) + print(" When reporting issues, you must remove all customizations") + print(" and check if the problem persists. If not, the problem is") + print(" caused by your overrides. Please understand that we can't") + print(" help you debug your customizations. Please remove:") + print(Style.NORMAL) + print(" - theme.custom_dir") + print(" - hooks") + print(Fore.YELLOW) + print(" Additionally, please remove all third-party JavaScript or") + print(" CSS not explicitly mentioned in our documentation:") + print(Style.NORMAL) + print(" - extra_css") + print(" - extra_javascript") + print(Style.RESET_ALL) + + # Exit, unless explicitly told not to + if self.config.archive_stop_on_violation: + sys.exit(1) + +# ----------------------------------------------------------------------------- +# Helper functions +# ----------------------------------------------------------------------------- + +# Print human-readable size +def _size(value, factor = 1): + color = Fore.GREEN + if value > 100000 * factor: color = Fore.RED + elif value > 25000 * factor: color = Fore.YELLOW + for unit in ["B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB"]: + if abs(value) < 1000.0: + return f"{color}{value:3.1f} {unit}" + value /= 1000.0 + +# ----------------------------------------------------------------------------- +# Data +# ----------------------------------------------------------------------------- + +# Set up logging +log = logging.getLogger("mkdocs.material.info") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a7107bc2c3cdd0dc2d10b8f1856591b57fdd4759 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7483bdac0232dc15cd424f35c6a71abc223cba3a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c5473c9486f96c6b4f77fec71a6eb38ee5285f6f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/config.py new file mode 100644 index 0000000000000000000000000000000000000000..49f51a94fd44873dc2f6bcbd44208e00f1831073 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/config.py @@ -0,0 +1,30 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.config_options import Type +from mkdocs.config.base import Config + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Offline plugin configuration +class OfflineConfig(Config): + enabled = Type(bool, default = True) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..abcb25984ad120948d979ef51888789cb1f7aeb4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/offline/plugin.py @@ -0,0 +1,69 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +import os + +from mkdocs.plugins import BasePlugin, event_priority + +from .config import OfflineConfig + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Offline plugin +class OfflinePlugin(BasePlugin[OfflineConfig]): + + # Set configuration for offline build + def on_config(self, config): + if not self.config.enabled: + return + + # Ensure correct resolution of links when viewing the site from the + # file system by disabling directory URLs + config.use_directory_urls = False + + # Append iframe-worker to polyfills/shims + config.extra["polyfills"] = config.extra.get("polyfills", []) + if not any("iframe-worker" in url for url in config.extra["polyfills"]): + script = "https://unpkg.com/iframe-worker/shim" + config.extra["polyfills"].append(script) + + # Add support for offline search (run latest) - the search index is copied + # and inlined into a script, so that it can be used without a server + @event_priority(-100) + def on_post_build(self, *, config): + if not self.config.enabled: + return + + # Ensure presence of search index + path = os.path.join(config.site_dir, "search") + file = os.path.join(path, "search_index.json") + if not os.path.isfile(file): + return + + # Obtain search index contents + with open(file, encoding = "utf-8") as f: + data = f.read() + + # Inline search index contents into script + file = os.path.join(path, "search_index.js") + with open(file, "w", encoding = "utf-8") as f: + f.write(f"var __index = {data}") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b5a0740791c778905c1b7cf9a4f0041443f0759e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8b0a611b8a9a0b07eb7100ba63c76bbdedcf4192 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/parser.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/parser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fe9884a7a825a937c8d66ad0c287e8a9e7fa7ff1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/parser.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6bbd2ac34f6d449483d9d65ff6b3a718de119f8d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/config.py new file mode 100644 index 0000000000000000000000000000000000000000..de983b4feef49873d7a147a5cc39522caa2c0f86 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/config.py @@ -0,0 +1,43 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +import os + +from mkdocs.config.base import Config +from mkdocs.config.config_options import DictOfItems, Type + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Privacy plugin configuration +class PrivacyConfig(Config): + enabled = Type(bool, default = True) + concurrency = Type(int, default = max(1, os.cpu_count() - 1)) + + # Settings for caching + cache = Type(bool, default = True) + cache_dir = Type(str, default = ".cache/plugin/privacy") + + # Settings for external assets + assets = Type(bool, default = True) + assets_fetch = Type(bool, default = True) + assets_fetch_dir = Type(str, default = "assets/external") + assets_expr_map = DictOfItems(Type(str), default = {}) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/parser.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/parser.py new file mode 100644 index 0000000000000000000000000000000000000000..836b37258246b1aa05bf3a15feff7e100c94f2fb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/parser.py @@ -0,0 +1,41 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from html.parser import HTMLParser +from xml.etree.ElementTree import Element + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Fragment parser - previously, we used lxml for fault-tolerant HTML5 parsing, +# but it blows up the size of the Docker image by 20 MB. We can't just use the +# built-in XML parser, as it doesn't handle HTML5 (because, yeah, it's not XML), +# so we use a streaming parser and construct the element ourselves. +class FragmentParser(HTMLParser): + + # Initialize parser + def __init__(self): + super().__init__(convert_charrefs = True) + self.result = None + + # Create element + def handle_starttag(self, tag, attrs): + self.result = Element(tag, dict(attrs)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..6875420f93cceb18abca01dbbe406619b5baee09 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/privacy/plugin.py @@ -0,0 +1,550 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from __future__ import annotations + +import errno +import logging +import os +import posixpath +import re +import requests +import sys + +from colorama import Fore, Style +from concurrent.futures import Future, ThreadPoolExecutor, wait +from hashlib import sha1 +from mkdocs.config.config_options import ExtraScriptValue +from mkdocs.config.defaults import MkDocsConfig +from mkdocs.plugins import BasePlugin, event_priority +from mkdocs.structure.files import File, Files +from mkdocs.utils import is_error_template +from re import Match +from urllib.parse import ParseResult as URL, urlparse +from xml.etree.ElementTree import Element, tostring + +from .config import PrivacyConfig +from .parser import FragmentParser + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Privacy plugin +class PrivacyPlugin(BasePlugin[PrivacyConfig]): + + # Initialize thread pools and asset collections + def on_config(self, config): + self.site = urlparse(config.site_url or "") + if not self.config.enabled: + return + + # Initialize thread pool + self.pool = ThreadPoolExecutor(self.config.concurrency) + self.pool_jobs: list[Future] = [] + + # Initialize collections of external assets + self.assets = Files([]) + self.assets_expr_map = { + ".css": r"url\((\s*http?[^)]+)\)", + ".js": r"[\"'](http[^\"']+\.(?:css|js(?:on)?))[\"']", + **self.config.assets_expr_map + } + + # Process external style sheets and scripts (run latest) - run this after + # all other plugins, so they can add additional assets + @event_priority(-100) + def on_files(self, files, *, config): + if not self.config.enabled: + return + + # Skip if external assets must not be processed + if not self.config.assets: + return + + # Find all external style sheet and script files that are provided as + # part of the build (= already known to MkDocs on startup) + for initiator in files.media_files(): + file = None + + # Check if the file has dependent external assets that must be + # downloaded. Create and enqueue a job for each external asset. + for url in self._parse_media(initiator): + if not self._is_excluded(url, initiator): + file = self._queue(url, config, concurrent = True) + + # If site URL is not given, ensure that Mermaid.js is always + # present. This is a special case, as Material for MkDocs + # automatically loads Mermaid.js when a Mermaid diagram is + # found in the page - https://bit.ly/36tZXsA. + if "mermaid.min.js" in url.path and not config.site_url: + path = url.geturl() + if path not in config.extra_javascript: + config.extra_javascript.append( + ExtraScriptValue(path) + ) + + # The local asset references at least one external asset, which + # means we must download and replace them later + if file: + self.assets.append(initiator) + files.remove(initiator) + + # Process external style sheet files + for path in config.extra_css: + url = urlparse(path) + if not self._is_excluded(url): + self._queue(url, config, concurrent = True) + + # Process external script files + for script in config.extra_javascript: + if isinstance(script, str): + script = ExtraScriptValue(script) + + # Enqueue a job if the script needs to downloaded + url = urlparse(script.path) + if not self._is_excluded(url): + self._queue(url, config, concurrent = True) + + # Process external images in page (run latest) - this stage is the earliest + # we can start processing external images, since images are the most common + # type of external asset when writing. Thus, we create and enqueue a job for + # each image we find that checks if the image needs to be downloaded. + @event_priority(-100) + def on_page_content(self, html, *, page, config, files): + if not self.config.enabled: + return + + # Skip if external assets must not be processed + if not self.config.assets: + return + + # Find all external images and download them if not excluded + for match in re.findall( + r"]+src=['\"]?http[^>]+>", + html, flags = re.I | re.M + ): + el = self._parse_fragment(match) + + # Create and enqueue job to fetch external image + url = urlparse(el.get("src")) + if not self._is_excluded(url, page.file): + self._queue(url, config, concurrent = True) + + # Process external assets in template (run later) + @event_priority(-50) + def on_post_template(self, output_content, *, template_name, config): + if not self.config.enabled: + return + + # Skip sitemap.xml and other non-HTML files + if not template_name.endswith(".html"): + return + + # Parse and replace links to external assets in template + initiator = File(template_name, config.docs_dir, config.site_dir, False) + return self._parse_html(output_content, initiator, config) + + # Process external assets in page (run later) + @event_priority(-50) + def on_post_page(self, output, *, page, config): + if not self.config.enabled: + return + + # Parse and replace links to external assets + return self._parse_html(output, page.file, config) + + # Reconcile jobs (run earlier) + @event_priority(50) + def on_post_build(self, *, config): + if not self.config.enabled: + return + + # Reconcile concurrent jobs and clear thread pool, as we will reuse the + # same thread pool for patching all links to external assets + wait(self.pool_jobs) + self.pool_jobs.clear() + + # Spawn concurrent job to patch all links to dependent external asset + # in all style sheet and script files + for file in self.assets: + _, extension = posixpath.splitext(file.dest_uri) + if extension in [".css", ".js"]: + self.pool_jobs.append(self.pool.submit( + self._patch, file + )) + + # Otherwise just copy external asset to output directory + else: + file.copy_file() + + # Reconcile concurrent jobs for the last time, so the plugins following + # in the build process always have a consistent state to work with + wait(self.pool_jobs) + self.pool.shutdown() + + # ------------------------------------------------------------------------- + + # Check if the given URL is external + def _is_external(self, url: URL): + hostname = url.hostname or self.site.hostname + return hostname != self.site.hostname + + # Check if the given URL is excluded + def _is_excluded(self, url: URL, initiator: File | None = None): + if not self._is_external(url): + return True + + # Skip if external assets must not be processed + if not self.config.assets: + return True + + # If initiator is given, format for printing + via = "" + if initiator: + via = "".join([ + Fore.WHITE, Style.DIM, + f"in '{initiator.src_uri}' ", + Style.RESET_ALL + ]) + + # Print warning if fetching is not enabled + if not self.config.assets_fetch: + log.warning(f"External file: {url.geturl()} {via}") + return True + + # File is not excluded + return False + + # ------------------------------------------------------------------------- + + # Parse a fragment + def _parse_fragment(self, fragment: str): + parser = FragmentParser() + parser.feed(fragment) + parser.close() + + # Return element + assert isinstance(parser.result, Element) + return parser.result + + # Parse and extract all external assets from a media file using a preset + # regular expression, and return all URLs found. + def _parse_media(self, initiator: File) -> list[URL]: + _, extension = posixpath.splitext(initiator.dest_uri) + if extension not in self.assets_expr_map: + return [] + + # Find and extract all external asset URLs + expr = re.compile(self.assets_expr_map[extension], flags = re.I | re.M) + with open(initiator.abs_src_path, encoding = "utf-8") as f: + return [urlparse(url) for url in re.findall(expr, f.read())] + + # Parse template or page HTML and find all external links that need to be + # replaced. Many of the assets should already be downloaded earlier, i.e., + # everything that was directly referenced in the document, but there may + # still exist external assets that were added by third-party plugins. + def _parse_html(self, output: str, initiator: File, config: MkDocsConfig): + + # Resolve callback + def resolve(file: File): + if is_error_template(initiator.src_uri): + base = urlparse(config.site_url or "/") + return posixpath.join(base.path, file.url) + else: + return file.url_relative_to(initiator) + + # Replace callback + def replace(match: Match): + el = self._parse_fragment(match.group()) + + # Handle external style sheet or preconnect hint + if el.tag == "link": + url = urlparse(el.get("href")) + if not self._is_excluded(url, initiator): + rel = el.get("rel", "") + + # Replace external preconnect hint + if rel == "preconnect": + return "" + + # Replace external style sheet or favicon + if rel == "stylesheet" or rel == "icon": + file = self._queue(url, config) + el.set("href", resolve(file)) + + # Handle external script or image + if el.tag == "script" or el.tag == "img": + url = urlparse(el.get("src")) + if not self._is_excluded(url, initiator): + file = self._queue(url, config) + el.set("src", resolve(file)) + + # Return element as string + return self._print(el) + + # Find and replace all external asset URLs in current page + return re.sub( + r"<(?:(?:a|link)[^>]+href|(?:script|img)[^>]+src)=['\"]?http[^>]+>", + replace, output, flags = re.I | re.M + ) + + # ------------------------------------------------------------------------- + + # Print element as string - what could possibly go wrong? We're parsing + # HTML5 with an XML parser, and XML doesn't allow for boolean attributes, + # which is why we must add a dummy value to all attributes that are not + # strings before printing the element as string. + def _print(self, el: Element): + temp = "__temp__" + for name in el.attrib: + if not isinstance(el.attrib[name], str): + el.attrib[name] = temp + + # Return void or opening tag as string, strip closing tag + data = tostring(el, encoding = "unicode") + return data.replace(" />", ">").replace(f"\"{temp}\"", "") + + # Enqueue external asset for download, if not already done + def _queue(self, url: URL, config: MkDocsConfig, concurrent = False): + path = self._path_from_url(url) + full = posixpath.join(self.config.assets_fetch_dir, path) + + # Try to retrieve existing file + file = self.assets.get_file_from_path(full) + if not file: + + # Compute path to external asset, which is sourced from the cache + # directory, and generate file to register it with MkDocs as soon + # as it was downloaded. This allows other plugins to apply + # additional processing. + file = self._path_to_file(path, config) + file.url = url.geturl() + + # Spawn concurrent job to fetch external asset if the extension is + # known and the concurrent flag is set. In that case, this function + # is called in a context where no replacements are carried out, so + # the caller must only ensure to reconcile the concurrent jobs. + _, extension = posixpath.splitext(url.path) + if extension and concurrent: + self.pool_jobs.append(self.pool.submit( + self._fetch, file, config + )) + + # Fetch external asset synchronously, as it either has no extension + # or is fetched from a context in which replacements are done + else: + self._fetch(file, config) + + # Register external asset as file + self.assets.append(file) + + # If the URL of the external asset includes a hash fragment, add it to + # the returned file, e.g. for dark/light images - see https://t.ly/7b16Y + if url.fragment: + file.url += f"#{url.fragment}" + + # Return file associated with external asset + return file + + # Fetch external asset referenced through the given file + def _fetch(self, file: File, config: MkDocsConfig): + + # Check if external asset needs to be downloaded + if not os.path.isfile(file.abs_src_path) or not self.config.cache: + path = file.abs_src_path + + # Download external asset + log.info(f"Downloading external file: {file.url}") + res = requests.get(file.url, headers = { + + # Set user agent explicitly, so Google Fonts gives us *.woff2 + # files, which according to caniuse.com is the only format we + # need to download as it covers the entire range of browsers + # we're officially supporting. + "User-Agent": " ".join([ + "Mozilla/5.0 (Windows NT 10.0; Win64; x64)", + "AppleWebKit/537.36 (KHTML, like Gecko)", + "Chrome/98.0.4758.102 Safari/537.36" + ]) + }) + + # Compute expected file extension and append if missing + mime = res.headers["content-type"].split(";")[0] + extension = extensions.get(mime) + if extension and not path.endswith(extension): + path += extension + + # Save to file and create symlink if no extension was present + self._save_to_file(path, res.content) + if path != file.abs_src_path: + + # Creating symlinks might fail on Windows. Thus, we just print + # a warning and continue - see https://bit.ly/3xYFzcZ + try: + os.symlink(os.path.basename(path), file.abs_src_path) + except OSError as e: + if e.errno != errno.EEXIST: + log.warning( + f"Couldn't create symbolic link: {file.src_uri}" + ) + + # Fall back for when the symlink could not be created. This + # means that the plugin will download the original file on + # every build, as the content type cannot be resolved from + # the file extension. + file.abs_src_path = path + + # Resolve destination if file points to a symlink + _, extension = os.path.splitext(file.abs_src_path) + if os.path.isfile(file.abs_src_path): + file.abs_src_path = os.path.realpath(file.abs_src_path) + _, extension = os.path.splitext(file.abs_src_path) + + # If the symlink could not be created, we already set the correct + # extension, so we need to make sure not to append it again + if not file.abs_dest_path.endswith(extension): + file.src_uri += extension + + # Compute destination file system path + file.dest_uri += extension + file.abs_dest_path += extension + + # Compute destination URL + file.url = file.dest_uri + + # Parse and enqueue dependent external assets + for url in self._parse_media(file): + if not self._is_excluded(url, file): + self._queue(url, config, concurrent = True) + + # Patch all links to external assets in the given file + def _patch(self, initiator: File): + with open(initiator.abs_src_path, encoding = "utf-8") as f: + + # Replace callback + def replace(match: Match): + value = match.group(1) + + # Map URL to canonical path + path = self._path_from_url(urlparse(value)) + full = posixpath.join(self.config.assets_fetch_dir, path) + + # Try to retrieve existing file + file = self.assets.get_file_from_path(full) + if not file: + name = os.readlink(os.path.join(self.config.cache_dir, full)) + full = posixpath.join(posixpath.dirname(full), name) + + # Try again after resolving symlink + file = self.assets.get_file_from_path(full) + + # This can theoretically never happen, as we're sure that we + # only replace files that we successfully extracted. However, + # we might have missed several cases, so it's better to throw + # here than to swallow the error. + if not file: + log.error( + "File not found. This is likely a bug in the built-in " + "privacy plugin. Please create an issue with a minimal " + "reproduction." + ) + sys.exit(1) + + # Create absolute URL for asset in script + if file.url.endswith(".js"): + url = posixpath.join(self.site.geturl(), file.url) + + # Create relative URL for everything else + else: + url = file.url_relative_to(initiator) + + # Switch external asset URL to local path + return match.group().replace(value, url) + + # Resolve replacement expression according to asset type + _, extension = posixpath.splitext(initiator.dest_uri) + expr = re.compile(self.assets_expr_map[extension], re.I | re.M) + + # Resolve links to external assets in file + self._save_to_file( + initiator.abs_dest_path, + expr.sub(replace, f.read()) + ) + + # ------------------------------------------------------------------------- + + # Normalize (= canonicalize) path by removing trailing slashes, and ensure + # that hidden folders (`.` after `/`) are unhidden. Otherwise MkDocs will + # not consider them being part of the build and refuse to copy them. + def _path_from_url(self, url: URL): + path = posixpath.normpath(url.path) + path = re.sub(r"/\.", "/_", path) + + # Compute digest of query string, as some URLs yield different results + # for different query strings, e.g. https://unsplash.com/random?Coffee + if url.query: + name, extension = posixpath.splitext(path) + + # Inject digest after file name and before file extension, as + # done for style sheet and script files as well + digest = sha1(url.query.encode("utf-8")).hexdigest()[:8] + path = f"{name}.{digest}{extension}" + + # Create and return URL without leading double slashes + url = url._replace(scheme = "", query = "", fragment = "", path = path) + return url.geturl()[2:] + + # Create a file for the given path + def _path_to_file(self, path: str, config: MkDocsConfig): + return File( + posixpath.join(self.config.assets_fetch_dir, path), + os.path.abspath(self.config.cache_dir), + config.site_dir, + False + ) + + # Create a file on the system with the given content + def _save_to_file(self, path: str, content: str | bytes): + os.makedirs(os.path.dirname(path), exist_ok = True) + if isinstance(content, str): + content = bytes(content, "utf-8") + with open(path, "wb") as f: + f.write(content) + +# ----------------------------------------------------------------------------- +# Data +# ----------------------------------------------------------------------------- + +# Set up logging +log = logging.getLogger("mkdocs.material.privacy") + +# Expected file extensions +extensions = { + "application/javascript": ".js", + "image/avif": ".avif", + "image/gif": ".gif", + "image/jpeg": ".jpg", + "image/png": ".png", + "image/svg+xml": ".svg", + "image/webp": ".webp", + "text/javascript": ".js", + "text/css": ".css" +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..967e4ee1b125117c9a3ca031ba04684fccff926d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..05fd7345be0cbbd6805f4a90fbeb245ee5449fd3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..426e5b8117a0f0452eb363be7e2fc02acdb672ec Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/config.py new file mode 100644 index 0000000000000000000000000000000000000000..e150fbb36d0408f388f950a50350e4e7ef8ac61e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/config.py @@ -0,0 +1,58 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.config_options import ( + Choice, + Deprecated, + Optional, + ListOfItems, + Type +) +from mkdocs.config.base import Config +from mkdocs.contrib.search import LangOption + +# ----------------------------------------------------------------------------- +# Options +# ----------------------------------------------------------------------------- + +# Options for search pipeline +pipeline = ("stemmer", "stopWordFilter", "trimmer") + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Search plugin configuration +class SearchConfig(Config): + enabled = Type(bool, default = True) + + # Settings for search + lang = Optional(LangOption()) + separator = Optional(Type(str)) + pipeline = ListOfItems(Choice(pipeline), default = []) + + # Settings for text segmentation (Chinese) + jieba_dict = Optional(Type(str)) + jieba_dict_user = Optional(Type(str)) + + # Unsupported settings, originally implemented in MkDocs + indexing = Deprecated(message = "Unsupported option") + prebuild_index = Deprecated(message = "Unsupported option") + min_search_length = Deprecated(message = "Unsupported option") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..a3199ab92a8a84900cddf06f48dc8e4b2c8a175e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/search/plugin.py @@ -0,0 +1,579 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +import json +import logging +import os +import regex as re + +from html import escape +from html.parser import HTMLParser +from mkdocs import utils +from mkdocs.plugins import BasePlugin + +from .config import SearchConfig + +try: + import jieba +except ImportError: + jieba = None + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Search plugin +class SearchPlugin(BasePlugin[SearchConfig]): + + # Initialize plugin + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # Initialize incremental builds + self.is_dirty = False + self.is_dirtyreload = False + + # Initialize search index cache + self.search_index_prev = None + + # Determine whether we're serving the site + def on_startup(self, *, command, dirty): + self.is_dirty = dirty + + # Initialize plugin + def on_config(self, config): + if not self.config.enabled: + return + + # Retrieve default value for language + if not self.config.lang: + self.config.lang = [self._translate( + config, "search.config.lang" + )] + + # Retrieve default value for separator + if not self.config.separator: + self.config.separator = self._translate( + config, "search.config.separator" + ) + + # Retrieve default value for pipeline + if not self.config.pipeline: + self.config.pipeline = list(filter(len, re.split( + r"\s*,\s*", self._translate(config, "search.config.pipeline") + ))) + + # Initialize search index + self.search_index = SearchIndex(**self.config) + + # Set jieba dictionary, if given + if self.config.jieba_dict: + path = os.path.normpath(self.config.jieba_dict) + if os.path.isfile(path): + jieba.set_dictionary(path) + log.debug(f"Loading jieba dictionary: {path}") + else: + log.warning( + f"Configuration error for 'search.jieba_dict': " + f"'{self.config.jieba_dict}' does not exist." + ) + + # Set jieba user dictionary, if given + if self.config.jieba_dict_user: + path = os.path.normpath(self.config.jieba_dict_user) + if os.path.isfile(path): + jieba.load_userdict(path) + log.debug(f"Loading jieba user dictionary: {path}") + else: + log.warning( + f"Configuration error for 'search.jieba_dict_user': " + f"'{self.config.jieba_dict_user}' does not exist." + ) + + # Add page to search index + def on_page_context(self, context, *, page, config, nav): + if not self.config.enabled: + return + + # Index page + self.search_index.add_entry_from_context(page) + page.content = re.sub( + r"\s?data-search-\w+=\"[^\"]+\"", + "", + page.content + ) + + # Generate search index + def on_post_build(self, *, config): + if not self.config.enabled: + return + + # Write search index + base = os.path.join(config.site_dir, "search") + path = os.path.join(base, "search_index.json") + + # Generate and write search index to file + data = self.search_index.generate_search_index(self.search_index_prev) + utils.write_file(data.encode("utf-8"), path) + + # Persist search index for repeated invocation + if self.is_dirty: + self.search_index_prev = self.search_index + + # Determine whether we're running under dirty reload + def on_serve(self, server, *, config, builder): + self.is_dirtyreload = self.is_dirty + + # ------------------------------------------------------------------------- + + # Translate the given placeholder value + def _translate(self, config, value): + env = config.theme.get_env() + + # Load language template and return translation for placeholder + language = "partials/language.html" + template = env.get_template(language, None, { "config": config }) + return template.module.t(value) + +# ----------------------------------------------------------------------------- + +# Search index with support for additional fields +class SearchIndex: + + # Initialize search index + def __init__(self, **config): + self.config = config + self.entries = [] + + # Add page to search index + def add_entry_from_context(self, page): + search = page.meta.get("search", {}) + if search.get("exclude"): + return + + # Divide page content into sections + parser = Parser() + parser.feed(page.content) + parser.close() + + # Add sections to index + for section in parser.data: + if not section.is_excluded(): + self.create_entry_for_section(section, page.toc, page.url, page) + + # Override: graceful indexing and additional fields + def create_entry_for_section(self, section, toc, url, page): + item = self._find_toc_by_id(toc, section.id) + if item: + url = url + item.url + elif section.id: + url = url + "#" + section.id + + # Set page title as section title if none was given, which happens when + # the first headline in a Markdown document is not a h1 headline. Also, + # if a page title was set via front matter, use that even though a h1 + # might be given or the page name was specified in nav in mkdocs.yml + if not section.title: + section.title = [str(page.meta.get("title", page.title))] + + # Compute title and text + title = "".join(section.title).strip() + text = "".join(section.text).strip() + + # Segment Chinese characters if jieba is available + if jieba: + title = self._segment_chinese(title) + text = self._segment_chinese(text) + + # Create entry for section + entry = { + "location": url, + "title": title, + "text": text + } + + # Set document tags + tags = page.meta.get("tags") + if isinstance(tags, list): + entry["tags"] = [] + for name in tags: + if name and isinstance(name, (str, int, float, bool)): + entry["tags"].append(name) + + # Set document boost + search = page.meta.get("search", {}) + if "boost" in search: + entry["boost"] = search["boost"] + + # Add entry to index + self.entries.append(entry) + + # Generate search index + def generate_search_index(self, prev): + config = { + key: self.config[key] + for key in ["lang", "separator", "pipeline"] + } + + # Hack: if we're running under dirty reload, the search index will only + # include the entries for the current page. However, MkDocs > 1.4 allows + # us to persist plugin state across rebuilds, which is exactly what we + # do by passing the previously built index to this method. Thus, we just + # remove the previous entries for the current page, and append the new + # entries to the end of the index, as order doesn't matter. + if prev and self.entries: + path = self.entries[0]["location"] + + # Since we're sure that we're running under dirty reload, the list + # of entries will only contain sections for a single page. Thus, we + # use the first entry to remove all entries from the previous run + # that belong to the current page. The rationale behind this is that + # authors might add or remove section headers, so we need to make + # sure that sections are synchronized correctly. + entries = [ + entry for entry in prev.entries + if not entry["location"].startswith(path) + ] + + # Merge previous with current entries + self.entries = entries + self.entries + + # Otherwise just set previous entries + if prev and not self.entries: + self.entries = prev.entries + + # Return search index as JSON + data = { "config": config, "docs": self.entries } + return json.dumps( + data, + separators = (",", ":"), + default = str + ) + + # ------------------------------------------------------------------------- + + # Retrieve item for anchor + def _find_toc_by_id(self, toc, id): + for toc_item in toc: + if toc_item.id == id: + return toc_item + + # Recurse into children of item + toc_item = self._find_toc_by_id(toc_item.children, id) + if toc_item is not None: + return toc_item + + # No item found + return None + + # Find and segment Chinese characters in string + def _segment_chinese(self, data): + expr = re.compile(r"(\p{IsHan}+)", re.UNICODE) + + # Replace callback + def replace(match): + value = match.group(0) + + # Replace occurrence in original string with segmented version and + # surround with zero-width whitespace for efficient indexing + return "".join([ + "\u200b", + "\u200b".join(jieba.cut(value.encode("utf-8"))), + "\u200b", + ]) + + # Return string with segmented occurrences + return expr.sub(replace, data).strip("\u200b") + +# ----------------------------------------------------------------------------- + +# HTML element +class Element: + """ + An element with attributes, essentially a small wrapper object for the + parser to access attributes in other callbacks than handle_starttag. + """ + + # Initialize HTML element + def __init__(self, tag, attrs = None): + self.tag = tag + self.attrs = attrs or {} + + # String representation + def __repr__(self): + return self.tag + + # Support comparison (compare by tag only) + def __eq__(self, other): + if other is Element: + return self.tag == other.tag + else: + return self.tag == other + + # Support set operations + def __hash__(self): + return hash(self.tag) + + # Check whether the element should be excluded + def is_excluded(self): + return "data-search-exclude" in self.attrs + +# ----------------------------------------------------------------------------- + +# HTML section +class Section: + """ + A block of text with markup, preceded by a title (with markup), i.e., a + headline with a certain level (h1-h6). Internally used by the parser. + """ + + # Initialize HTML section + def __init__(self, el, depth = 0): + self.el = el + self.depth = depth + + # Initialize section data + self.text = [] + self.title = [] + self.id = None + + # String representation + def __repr__(self): + if self.id: + return "#".join([self.el.tag, self.id]) + else: + return self.el.tag + + # Check whether the section should be excluded + def is_excluded(self): + return self.el.is_excluded() + +# ----------------------------------------------------------------------------- + +# HTML parser +class Parser(HTMLParser): + """ + This parser divides the given string of HTML into a list of sections, each + of which are preceded by a h1-h6 level heading. A white- and blacklist of + tags dictates which tags should be preserved as part of the index, and + which should be ignored in their entirety. + """ + + # Initialize HTML parser + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # Tags to skip + self.skip = set([ + "object", # Objects + "script", # Scripts + "style" # Styles + ]) + + # Tags to keep + self.keep = set([ + "p", # Paragraphs + "code", "pre", # Code blocks + "li", "ol", "ul", # Lists + "sub", "sup" # Sub- and superscripts + ]) + + # Current context and section + self.context = [] + self.section = None + + # All parsed sections + self.data = [] + + # Called at the start of every HTML tag + def handle_starttag(self, tag, attrs): + attrs = dict(attrs) + + # Ignore self-closing tags + el = Element(tag, attrs) + if not tag in void: + self.context.append(el) + else: + return + + # Handle heading + if tag in ([f"h{x}" for x in range(1, 7)]): + depth = len(self.context) + if "id" in attrs: + + # Ensure top-level section + if tag != "h1" and not self.data: + self.section = Section(Element("hx"), depth) + self.data.append(self.section) + + # Set identifier, if not first section + self.section = Section(el, depth) + if self.data: + self.section.id = attrs["id"] + + # Append section to list + self.data.append(self.section) + + # Handle preface - ensure top-level section + if not self.section: + self.section = Section(Element("hx")) + self.data.append(self.section) + + # Handle special cases to skip + for key, value in attrs.items(): + + # Skip block if explicitly excluded from search + if key == "data-search-exclude": + self.skip.add(el) + return + + # Skip line numbers - see https://bit.ly/3GvubZx + if key == "class" and value == "linenodiv": + self.skip.add(el) + return + + # Render opening tag if kept + if not self.skip.intersection(self.context) and tag in self.keep: + + # Check whether we're inside the section title + data = self.section.text + if self.section.el in self.context: + data = self.section.title + + # Append to section title or text + data.append(f"<{tag}>") + + # Called at the end of every HTML tag + def handle_endtag(self, tag): + if not self.context or self.context[-1] != tag: + return + + # Check whether we're exiting the current context, which happens when + # a headline is nested in another element. In that case, we close the + # current section, continuing to append data to the previous section, + # which could also be a nested section – see https://bit.ly/3IxxIJZ + if self.section.depth > len(self.context): + for section in reversed(self.data): + if section.depth <= len(self.context): + + # Set depth to infinity in order to denote that the current + # section is exited and must never be considered again. + self.section.depth = float("inf") + self.section = section + break + + # Remove element from skip list + el = self.context.pop() + if el in self.skip: + if el.tag not in ["script", "style", "object"]: + self.skip.remove(el) + return + + # Render closing tag if kept + if not self.skip.intersection(self.context) and tag in self.keep: + + # Check whether we're inside the section title + data = self.section.text + if self.section.el in self.context: + data = self.section.title + + # Search for corresponding opening tag + index = data.index(f"<{tag}>") + for i in range(index + 1, len(data)): + if not data[i].isspace(): + index = len(data) + break + + # Remove element if empty (or only whitespace) + if len(data) > index: + while len(data) > index: + data.pop() + + # Append to section title or text + else: + data.append(f"") + + # Called for the text contents of each tag + def handle_data(self, data): + if self.skip.intersection(self.context): + return + + # Collapse whitespace in non-pre contexts + if not "pre" in self.context: + if not data.isspace(): + data = data.replace("\n", " ") + else: + data = " " + + # Handle preface - ensure top-level section + if not self.section: + self.section = Section(Element("hx")) + self.data.append(self.section) + + # Handle section headline + if self.section.el in self.context: + permalink = False + for el in self.context: + if el.tag == "a" and el.attrs.get("class") == "headerlink": + permalink = True + + # Ignore permalinks + if not permalink: + self.section.title.append( + escape(data, quote = False) + ) + + # Collapse adjacent whitespace + elif data.isspace(): + if not self.section.text or not self.section.text[-1].isspace(): + self.section.text.append(data) + elif "pre" in self.context: + self.section.text.append(data) + + # Handle everything else + else: + self.section.text.append( + escape(data, quote = False) + ) + +# ----------------------------------------------------------------------------- +# Data +# ----------------------------------------------------------------------------- + +# Set up logging +log = logging.getLogger("mkdocs.material.search") + +# Tags that are self-closing +void = set([ + "area", # Image map areas + "base", # Document base + "br", # Line breaks + "col", # Table columns + "embed", # External content + "hr", # Horizontal rules + "img", # Images + "input", # Input fields + "link", # Links + "meta", # Metadata + "param", # External parameters + "source", # Image source sets + "track", # Text track + "wbr" # Line break opportunities +]) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c2ff34afdbc1c26ff645a205e18483a82b113977 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08ff950ac95c8fdbefdd7af1e1d7f2bf4e9d51c6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c2c2a0fc500b36ea95833fad383c81421ca439e3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/config.py new file mode 100644 index 0000000000000000000000000000000000000000..2d87c25e0526da915408ea62d9a016b7de4f0084 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/config.py @@ -0,0 +1,48 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.base import Config +from mkdocs.config.config_options import Deprecated, Type + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Social plugin configuration +class SocialConfig(Config): + enabled = Type(bool, default = True) + cache_dir = Type(str, default = ".cache/plugin/social") + + # Settings for social cards + cards = Type(bool, default = True) + cards_dir = Type(str, default = "assets/images/social") + cards_layout_options = Type(dict, default = {}) + + # Deprecated settings + cards_color = Deprecated( + option_type = Type(dict, default = {}), + message = + "Deprecated, use 'cards_layout_options.background_color' " + "and 'cards_layout_options.color' with 'default' layout" + ) + cards_font = Deprecated( + option_type = Type(str), + message = "Deprecated, use 'cards_layout_options.font_family'" + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..c6ed29be480a57891d93b97e214e14784decb31f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/social/plugin.py @@ -0,0 +1,516 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +# ----------------------------------------------------------------------------- +# Disclaimer +# ----------------------------------------------------------------------------- +# Please note: this version of the social plugin is not actively development +# anymore. Instead, Material for MkDocs Insiders ships a complete rewrite of +# the plugin which is much more powerful and addresses all shortcomings of +# this implementation. Additionally, the new social plugin allows to create +# entirely custom social cards. You can probably imagine, that this was a lot +# of work to pull off. If you run into problems, or want to have additional +# functionality, please consider sponsoring the project. You can then use the +# new version of the plugin immediately. +# ----------------------------------------------------------------------------- + +import concurrent.futures +import functools +import logging +import os +import posixpath +import re +import requests +import sys + +from collections import defaultdict +from hashlib import md5 +from io import BytesIO +from mkdocs.commands.build import DuplicateFilter +from mkdocs.exceptions import PluginError +from mkdocs.plugins import BasePlugin +from shutil import copyfile +from tempfile import TemporaryFile +from zipfile import ZipFile +try: + from cairosvg import svg2png + from PIL import Image, ImageDraw, ImageFont +except ImportError: + pass + +from .config import SocialConfig + + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Social plugin +class SocialPlugin(BasePlugin[SocialConfig]): + + def __init__(self): + self._executor = concurrent.futures.ThreadPoolExecutor(4) + + # Retrieve configuration + def on_config(self, config): + self.color = colors.get("indigo") + self.config.cards = self.config.enabled + if not self.config.cards: + return + + # Check dependencies + if "Image" not in globals(): + raise PluginError( + "Required dependencies of \"social\" plugin not found. " + "Install with: pip install \"mkdocs-material[imaging]\"" + ) + + # Move color options + if self.config.cards_color: + + # Move background color to new option + value = self.config.cards_color.get("fill") + if value: + self.config.cards_layout_options["background_color"] = value + + # Move color to new option + value = self.config.cards_color.get("text") + if value: + self.config.cards_layout_options["color"] = value + + # Move font family to new option + if self.config.cards_font: + value = self.config.cards_font + self.config.cards_layout_options["font_family"] = value + + # Check if site URL is defined + if not config.site_url: + log.warning( + "The \"site_url\" option is not set. The cards are generated, " + "but not linked, so they won't be visible on social media." + ) + + # Ensure presence of cache directory + self.cache = self.config.cache_dir + if not os.path.isdir(self.cache): + os.makedirs(self.cache) + + # Retrieve palette from theme configuration + theme = config.theme + if "palette" in theme: + palette = theme["palette"] + + # Use first palette, if multiple are defined + if isinstance(palette, list): + palette = palette[0] + + # Set colors according to palette + if "primary" in palette and palette["primary"]: + primary = palette["primary"].replace(" ", "-") + self.color = colors.get(primary, self.color) + + # Retrieve color overrides + options = self.config.cards_layout_options + self.color = { + "fill": options.get("background_color", self.color["fill"]), + "text": options.get("color", self.color["text"]) + } + + # Retrieve logo and font + self._resized_logo_promise = self._executor.submit(self._load_resized_logo, config) + self.font = self._load_font(config) + + self._image_promises = [] + + # Create social cards + def on_page_markdown(self, markdown, page, config, files): + if not self.config.cards: + return + + # Resolve image directory + directory = self.config.cards_dir + file, _ = os.path.splitext(page.file.src_path) + + # Resolve path of image + path = "{}.png".format(os.path.join( + config.site_dir, + directory, + file + )) + + # Resolve path of image directory + directory = os.path.dirname(path) + if not os.path.isdir(directory): + os.makedirs(directory) + + # Compute site name + site_name = config.site_name + + # Compute page title and description + title = page.meta.get("title", page.title) + description = config.site_description or "" + if "description" in page.meta: + description = page.meta["description"] + + # Check type of meta title - see https://t.ly/m1Us + if not isinstance(title, str): + log.error( + f"Page meta title of page '{page.file.src_uri}' must be a " + f"string, but is of type \"{type(title)}\"." + ) + sys.exit(1) + + # Check type of meta description - see https://t.ly/m1Us + if not isinstance(description, str): + log.error( + f"Page meta description of '{page.file.src_uri}' must be a " + f"string, but is of type \"{type(description)}\"." + ) + sys.exit(1) + + # Generate social card if not in cache + hash = md5("".join([ + site_name, + str(title), + description + ]).encode("utf-8")) + file = os.path.join(self.cache, f"{hash.hexdigest()}.png") + self._image_promises.append(self._executor.submit( + self._cache_image, + cache_path = file, dest_path = path, + render_function = lambda: self._render_card(site_name, title, description) + )) + + # Inject meta tags into page + meta = page.meta.get("meta", []) + page.meta["meta"] = meta + self._generate_meta(page, config) + + def on_post_build(self, config): + if not self.config.cards: + return + + # Check for exceptions + for promise in self._image_promises: + promise.result() + + # ------------------------------------------------------------------------- + + # Render image to cache (if not present), then copy from cache to site + def _cache_image(self, cache_path, dest_path, render_function): + if not os.path.isfile(cache_path): + image = render_function() + image.save(cache_path) + + # Copy file from cache + copyfile(cache_path, dest_path) + + @functools.lru_cache(maxsize=None) + def _get_font(self, kind, size): + return ImageFont.truetype(self.font[kind], size) + + # Render social card + def _render_card(self, site_name, title, description): + # Render background and logo + image = self._render_card_background((1200, 630), self.color["fill"]) + image.alpha_composite( + self._resized_logo_promise.result(), + (1200 - 228, 64 - 4) + ) + + # Render site name + font = self._get_font("Bold", 36) + image.alpha_composite( + self._render_text((826, 48), font, site_name, 1, 20), + (64 + 4, 64) + ) + + # Render page title + font = self._get_font("Bold", 92) + image.alpha_composite( + self._render_text((826, 328), font, title, 3, 30), + (64, 160) + ) + + # Render page description + font = self._get_font("Regular", 28) + image.alpha_composite( + self._render_text((826, 80), font, description, 2, 14), + (64 + 4, 512) + ) + + # Return social card image + return image + + # Render social card background + def _render_card_background(self, size, fill): + return Image.new(mode = "RGBA", size = size, color = fill) + + @functools.lru_cache(maxsize=None) + def _tmp_context(self): + image = Image.new(mode = "RGBA", size = (50, 50)) + return ImageDraw.Draw(image) + + @functools.lru_cache(maxsize=None) + def _text_bounding_box(self, text, font): + return self._tmp_context().textbbox((0, 0), text, font = font) + + # Render social card text + def _render_text(self, size, font, text, lmax, spacing = 0): + width = size[0] + lines, words = [], [] + + # Remove remnant HTML tags + text = re.sub(r"(<[^>]+>)", "", text) + + # Retrieve y-offset of textbox to correct for spacing + yoffset = 0 + + # Create drawing context and split text into lines + for word in text.split(" "): + combine = " ".join(words + [word]) + textbox = self._text_bounding_box(combine, font = font) + yoffset = textbox[1] + if not words or textbox[2] <= width: + words.append(word) + else: + lines.append(words) + words = [word] + + # Join words for each line and create image + lines.append(words) + lines = [" ".join(line) for line in lines] + image = Image.new(mode = "RGBA", size = size) + + # Create drawing context and split text into lines + context = ImageDraw.Draw(image) + context.text( + (0, spacing / 2 - yoffset), "\n".join(lines[:lmax]), + font = font, fill = self.color["text"], spacing = spacing - yoffset + ) + + # Return text image + return image + + # ------------------------------------------------------------------------- + + # Generate meta tags + def _generate_meta(self, page, config): + directory = self.config.cards_dir + file, _ = os.path.splitext(page.file.src_uri) + + # Compute page title + title = page.meta.get("title", page.title) + if not page.is_homepage: + title = f"{title} - {config.site_name}" + + # Compute page description + description = config.site_description + if "description" in page.meta: + description = page.meta["description"] + + # Resolve image URL + url = "{}.png".format(posixpath.join( + config.site_url or ".", + directory, + file + )) + + # Ensure forward slashes + url = url.replace(os.path.sep, "/") + + # Return meta tags + return [ + + # Meta tags for Open Graph + { "property": "og:type", "content": "website" }, + { "property": "og:title", "content": title }, + { "property": "og:description", "content": description }, + { "property": "og:image", "content": url }, + { "property": "og:image:type", "content": "image/png" }, + { "property": "og:image:width", "content": "1200" }, + { "property": "og:image:height", "content": "630" }, + { "property": "og:url", "content": page.canonical_url }, + + # Meta tags for Twitter + { "name": "twitter:card", "content": "summary_large_image" }, + # { "name": "twitter:site", "content": user }, + # { "name": "twitter:creator", "content": user }, + { "name": "twitter:title", "content": title }, + { "name": "twitter:description", "content": description }, + { "name": "twitter:image", "content": url } + ] + + def _load_resized_logo(self, config, width = 144): + logo = self._load_logo(config) + height = int(width * logo.height / logo.width) + return logo.resize((width, height)) + + # Retrieve logo image or icon + def _load_logo(self, config): + theme = config.theme + + # Handle images (precedence over icons) + if "logo" in theme: + _, extension = os.path.splitext(theme["logo"]) + + path = os.path.join(config.docs_dir, theme["logo"]) + + # Allow users to put the logo inside their custom_dir (theme["logo"] case) + if theme.custom_dir: + custom_dir_logo = os.path.join(theme.custom_dir, theme["logo"]) + if os.path.exists(custom_dir_logo): + path = custom_dir_logo + + # Load SVG and convert to PNG + if extension == ".svg": + return self._load_logo_svg(path) + + # Load PNG, JPEG, etc. + return Image.open(path).convert("RGBA") + + # Handle icons + icon = theme["icon"] or {} + if "logo" in icon and icon["logo"]: + logo = icon["logo"] + else: + logo = "material/library" + + # Resolve path of package + base = os.path.abspath(os.path.join( + os.path.dirname(__file__), + "../.." + )) + + path = f"{base}/templates/.icons/{logo}.svg" + + # Allow users to put the logo inside their custom_dir (theme["icon"]["logo"] case) + if theme.custom_dir: + custom_dir_logo = os.path.join(theme.custom_dir, ".icons", f"{logo}.svg") + if os.path.exists(custom_dir_logo): + path = custom_dir_logo + + # Load icon data and fill with color + return self._load_logo_svg(path, self.color["text"]) + + # Load SVG file and convert to PNG + def _load_logo_svg(self, path, fill = None): + file = BytesIO() + data = open(path).read() + + # Fill with color, if given + if fill: + data = data.replace(" + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +# ----------------------------------------------------------------------------- +# Functions +# ----------------------------------------------------------------------------- + +# Casefold a string for comparison when sorting +def casefold(tag: str): + return tag.casefold() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1ab8afd2404db037f470d66d28bf6db8ee8187de Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/config.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c8a33827410086e45874e1c283cdd16769e61085 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/config.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/plugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..43852b15a2bad41dae5b3822d5b564765242a7d0 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/__pycache__/plugin.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/config.py new file mode 100644 index 0000000000000000000000000000000000000000..2d388c2682a47a9ecf93b5192716f556b558768e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/config.py @@ -0,0 +1,35 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from mkdocs.config.config_options import Optional, Type +from mkdocs.config.base import Config + + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Tags plugin configuration +class TagsConfig(Config): + enabled = Type(bool, default = True) + + # Settings for tags + tags = Type(bool, default = True) + tags_file = Optional(Type(str)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..e5ce6bdec8952613e28311ed42f54b7a2a75126f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/plugins/tags/plugin.py @@ -0,0 +1,182 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +import logging +import sys + +from collections import defaultdict +from markdown.extensions.toc import slugify +from mkdocs import utils +from mkdocs.plugins import BasePlugin + +# deprecated, but kept for downward compatibility. Use 'material.plugins.tags' +# as an import source instead. This import is removed in the next major version. +from . import casefold +from .config import TagsConfig + +# ----------------------------------------------------------------------------- +# Classes +# ----------------------------------------------------------------------------- + +# Tags plugin +class TagsPlugin(BasePlugin[TagsConfig]): + supports_multiple_instances = True + + # Initialize plugin + def on_config(self, config): + if not self.config.enabled: + return + + # Skip if tags should not be built + if not self.config.tags: + return + + # Initialize tags + self.tags = defaultdict(list) + self.tags_file = None + + # Retrieve tags mapping from configuration + self.tags_map = config.extra.get("tags") + + # Use override of slugify function + toc = { "slugify": slugify, "separator": "-" } + if "toc" in config.mdx_configs: + toc = { **toc, **config.mdx_configs["toc"] } + + # Partially apply slugify function + self.slugify = lambda value: ( + toc["slugify"](str(value), toc["separator"]) + ) + + # Hack: 2nd pass for tags index page(s) + def on_nav(self, nav, config, files): + if not self.config.enabled: + return + + # Skip if tags should not be built + if not self.config.tags: + return + + # Resolve tags index page + file = self.config.tags_file + if file: + self.tags_file = self._get_tags_file(files, file) + + # Build and render tags index page + def on_page_markdown(self, markdown, page, config, files): + if not self.config.enabled: + return + + # Skip if tags should not be built + if not self.config.tags: + return + + # Skip, if page is excluded + if page.file.inclusion.is_excluded(): + return + + # Render tags index page + if page.file == self.tags_file: + return self._render_tag_index(markdown) + + # Add page to tags index + for tag in page.meta.get("tags", []): + self.tags[tag].append(page) + + # Inject tags into page (after search and before minification) + def on_page_context(self, context, page, config, nav): + if not self.config.enabled: + return + + # Skip if tags should not be built + if not self.config.tags: + return + + # Provide tags for page + if "tags" in page.meta: + context["tags"] = [ + self._render_tag(tag) + for tag in page.meta["tags"] + ] + + # ------------------------------------------------------------------------- + + # Obtain tags file + def _get_tags_file(self, files, path): + file = files.get_file_from_path(path) + if not file: + log.error(f"Tags file '{path}' does not exist.") + sys.exit(1) + + # Add tags file to files + files.append(file) + return file + + # Render tags index + def _render_tag_index(self, markdown): + if not "[TAGS]" in markdown: + markdown += "\n[TAGS]" + + # Replace placeholder in Markdown with rendered tags index + return markdown.replace("[TAGS]", "\n".join([ + self._render_tag_links(*args) + for args in sorted(self.tags.items()) + ])) + + # Render the given tag and links to all pages with occurrences + def _render_tag_links(self, tag, pages): + classes = ["md-tag"] + if isinstance(self.tags_map, dict): + classes.append("md-tag-icon") + type = self.tags_map.get(tag) + if type: + classes.append(f"md-tag--{type}") + + # Render section for tag and a link to each page + classes = " ".join(classes) + content = [f"## {tag}", ""] + for page in pages: + url = utils.get_relative_url( + page.file.src_uri, + self.tags_file.src_uri + ) + + # Render link to page + title = page.meta.get("title", page.title) + content.append(f"- [{title}]({url})") + + # Return rendered tag links + return "\n".join(content) + + # Render the given tag, linking to the tags index (if enabled) + def _render_tag(self, tag): + type = self.tags_map.get(tag) if self.tags_map else None + if not self.tags_file or not self.slugify: + return dict(name = tag, type = type) + else: + url = f"{self.tags_file.url}#{self.slugify(tag)}" + return dict(name = tag, type = type, url = url) + +# ----------------------------------------------------------------------------- +# Data +# ----------------------------------------------------------------------------- + +# Set up logging +log = logging.getLogger("mkdocs.material.tags") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/fontawesome/LICENSE.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/fontawesome/LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..39e18e3d30767f5a321f87d338f911906aa88da9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/fontawesome/LICENSE.txt @@ -0,0 +1,165 @@ +Fonticons, Inc. (https://fontawesome.com) + +-------------------------------------------------------------------------------- + +Font Awesome Free License + +Font Awesome Free is free, open source, and GPL friendly. You can use it for +commercial projects, open source projects, or really almost whatever you want. +Full Font Awesome Free license: https://fontawesome.com/license/free. + +-------------------------------------------------------------------------------- + +# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) + +The Font Awesome Free download is licensed under a Creative Commons +Attribution 4.0 International License and applies to all icons packaged +as SVG and JS file types. + +-------------------------------------------------------------------------------- + +# Fonts: SIL OFL 1.1 License + +In the Font Awesome Free download, the SIL OFL license applies to all icons +packaged as web and desktop font files. + +Copyright (c) 2023 Fonticons, Inc. (https://fontawesome.com) +with Reserved Font Name: "Font Awesome". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +SIL OPEN FONT LICENSE +Version 1.1 - 26 February 2007 + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting — in part or in whole — any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +-------------------------------------------------------------------------------- + +# Code: MIT License (https://opensource.org/licenses/MIT) + +In the Font Awesome Free download, the MIT license applies to all non-font and +non-icon files. + +Copyright 2023 Fonticons, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in the +Software without restriction, including without limitation the rights to use, copy, +modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +-------------------------------------------------------------------------------- + +# Attribution + +Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font +Awesome Free files already contain embedded comments with sufficient +attribution, so you shouldn't need to do anything additional when using these +files normally. + +We've kept attribution comments terse, so we ask that you do not actively work +to remove them from files, especially code. They're a great way for folks to +learn about Font Awesome. + +-------------------------------------------------------------------------------- + +# Brand Icons + +All brand icons are trademarks of their respective owners. The use of these +trademarks does not indicate endorsement of the trademark holder by Font +Awesome, nor vice versa. **Please do not use brand logos for any purpose except +to represent the company, product, or service to which they refer.** diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/logo-monochrome.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/logo-monochrome.svg new file mode 100644 index 0000000000000000000000000000000000000000..d55d922f7a12b4c5bc8d650d4c8d87ce16605f94 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/logo-monochrome.svg @@ -0,0 +1,3 @@ + + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/logo.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/logo.svg new file mode 100644 index 0000000000000000000000000000000000000000..763eb2c29fb18ad410119e09b90465aa69c4899c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/logo.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/LICENSE b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..382f8a138afaaefe9ca2cfa80d33317f7814d997 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/LICENSE @@ -0,0 +1,20 @@ +Pictogrammers Free License +-------------------------- + +This icon collection is released as free, open source, and GPL friendly by +the [Pictogrammers](http://pictogrammers.com/) icon group. You may use it +for commercial projects, open source projects, or anything really. + +# Icons: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) +Some of the icons are redistributed under the Apache 2.0 license. All other +icons are either redistributed under their respective licenses or are +distributed under the Apache 2.0 license. + +# Fonts: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) +All web and desktop fonts are distributed under the Apache 2.0 license. Web +and desktop fonts contain some icons that are redistributed under the Apache +2.0 license. All other icons are either redistributed under their respective +licenses or are distributed under the Apache 2.0 license. + +# Code: MIT (https://opensource.org/licenses/MIT) +The MIT license applies to all non-font and non-icon files. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ab-testing.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ab-testing.svg new file mode 100644 index 0000000000000000000000000000000000000000..113b1547bc403b1fc2561702206c4d95f4f6dc0a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ab-testing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abacus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abacus.svg new file mode 100644 index 0000000000000000000000000000000000000000..90f568f244b71cdaa27594bed8d00f78fe7eb903 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abacus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abjad-arabic.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abjad-arabic.svg new file mode 100644 index 0000000000000000000000000000000000000000..5040e6394d0047fd35408ae5b3b580afc06d62d2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abjad-arabic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abjad-hebrew.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abjad-hebrew.svg new file mode 100644 index 0000000000000000000000000000000000000000..996d101f38d70f4c49ce8ef24ef01d8f7bc9cc38 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abjad-hebrew.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abugida-devanagari.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abugida-devanagari.svg new file mode 100644 index 0000000000000000000000000000000000000000..599aea8e7b5acec63523a97539c99f6016d3dc09 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abugida-devanagari.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abugida-thai.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abugida-thai.svg new file mode 100644 index 0000000000000000000000000000000000000000..fa90813823f4f86a6ddc90e53cb7c098fc97e8c7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/abugida-thai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-check.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-check.svg new file mode 100644 index 0000000000000000000000000000000000000000..aee4ddf9cd2a99ac69b6aaf10c431ea2fe2e6583 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-minus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-minus.svg new file mode 100644 index 0000000000000000000000000000000000000000..32b3001495e836141f0d792bdc983d2b850d1a38 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-network-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-network-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..b3ee6f98c61af20c6da7cb498fcb333ed8f0e75e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-network-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-network.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-network.svg new file mode 100644 index 0000000000000000000000000000000000000000..32b8731a61df52f7dd74254c63b333595056bcd6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-network.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..ad1cfa203588839b8ea5d98be2be1877d12c9b7d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-plus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..3dd63ab55d061d5d42f8a199db2a6f06fb6a60d9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-remove.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-remove.svg new file mode 100644 index 0000000000000000000000000000000000000000..b2c280b13659583069b400ee40c5611a53f6eb60 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point-remove.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point.svg new file mode 100644 index 0000000000000000000000000000000000000000..e39e416614230ac9f957cdb65dd3435634d079a1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/access-point.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-alert-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-alert-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..da1430515f84488e69d9ea681928466576b40841 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-alert-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-alert.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-alert.svg new file mode 100644 index 0000000000000000000000000000000000000000..5f267ce0d1c982bba80da6def3a3d61b0fa9d282 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-alert.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-down-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-down-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f9971e0c982564a23c752e805dafe36ec4a35a4a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-down-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-down.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-down.svg new file mode 100644 index 0000000000000000000000000000000000000000..c29cd84ab0dadad57a4fb1ab1d767516a67bea18 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-left-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-left-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f21b0a290397d5ee277abb3835b7206a202d506d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-left-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-left.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-left.svg new file mode 100644 index 0000000000000000000000000000000000000000..e404550493d615024af99fcfec2352d97ebba096 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-right-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-right-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..2f3bb525820385b38cc70a6b7494845542bc9eb8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-right-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-right.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-right.svg new file mode 100644 index 0000000000000000000000000000000000000000..c75bccc1902145ad1a4110696f26b818b153cf4d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-up-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-up-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..152ab21664cfa85ec6fd613f93053fdbf26aedf7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-up-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-up.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-up.svg new file mode 100644 index 0000000000000000000000000000000000000000..9d9732e5f4984055f23ce4bdcad3dfcfcb18b90e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-arrow-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-badge-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-badge-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..30274a0c00198b90b39ea6af37da9ccb1dbfdad9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-badge-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-badge.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-badge.svg new file mode 100644 index 0000000000000000000000000000000000000000..4abbe57b9579d8a55ae75f8b142b0d3d4b5930f2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-badge.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-multiple-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-multiple-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..56c138a57775ff2682ba6eb163bb27520231f7e3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-multiple-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-multiple.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-multiple.svg new file mode 100644 index 0000000000000000000000000000000000000000..173fad3e85b0d0ddbb2d112b60d41cdf371db426 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-multiple.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..5a55ddce370e80ba3362afb0bcbbeee78b73efde --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..5d30e17f3c72b38ec1cc6d14c8328829b6443a45 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cancel-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cancel-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..bb8417b3d84169d4b7ea8024a8a57fbc78f61b87 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cancel-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cancel.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cancel.svg new file mode 100644 index 0000000000000000000000000000000000000000..d0e76211d8fb53cab7fe5d6f1f354e5a9f3f461d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cancel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-card-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-card-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..4d36013de9e5267923727f818ed7ef53e2f063ae --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-card-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-card.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-card.svg new file mode 100644 index 0000000000000000000000000000000000000000..2ec57604bef8b83f250b811f7de706587ae45916 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-card.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cash-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cash-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..7a8022702c98293216db89fd6c5d400af207dd23 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cash-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cash.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cash.svg new file mode 100644 index 0000000000000000000000000000000000000000..59ab1144357f237e9d26546fc254424e91a43d3b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-check-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-check-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3fbdedda6ba7c9215ccef8c9c1edfe8f934c178e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-check-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-check.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-check.svg new file mode 100644 index 0000000000000000000000000000000000000000..959bd910e96a0cb08be1c50ba8b3a7e0cd0bb0d0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..7483a81f9fa0288d0ed4315c684b51fbc90f5704 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..a023caf6ba3e9bfd134251b8972af556fd51783a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child.svg new file mode 100644 index 0000000000000000000000000000000000000000..2cd2407a35e9a2235240e42c69d1c987e720a702 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-child.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..8e483f7b6044db44bf7ba95544b02a5f1b3de5ef --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..bc2457f5711a4c7d4161c6d0b8d76db7034f7d69 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-clock-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-clock-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..efb232485213d18e3907117da23553d0c3d61e81 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-clock-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-clock.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-clock.svg new file mode 100644 index 0000000000000000000000000000000000000000..751c753144fcbff9f0574b949084b47375a98558 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-clock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cog-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cog-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..010a5ca8b8550f8f27d7ac256ea6d25746ec9ce1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cog-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cog.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cog.svg new file mode 100644 index 0000000000000000000000000000000000000000..7aba186207ce4f844962bd2d6cae99a6ead890ee --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cog.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-convert-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-convert-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..90a0da0bba7d35351fa44d3fe2e1643fe74cffca --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-convert-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-convert.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-convert.svg new file mode 100644 index 0000000000000000000000000000000000000000..661b56695338d891b6c68282690fe33cb9355725 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-convert.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cowboy-hat-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cowboy-hat-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..9dc7de4f368b8db7c0640799cfdc6f0d175205d0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cowboy-hat-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cowboy-hat.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cowboy-hat.svg new file mode 100644 index 0000000000000000000000000000000000000000..b3928d44d5e59caddeceb1f82ba6778538f1ed33 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-cowboy-hat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-credit-card-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-credit-card-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..752798f4dc815105ae076761190047cb278581d1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-credit-card-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-credit-card.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-credit-card.svg new file mode 100644 index 0000000000000000000000000000000000000000..8c97ba15e7540d8c86dca541f311476a4f50a725 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-credit-card.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-details-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-details-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..4a47dda920f3dc9de21b56f8a970c99da6216487 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-details-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-details.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-details.svg new file mode 100644 index 0000000000000000000000000000000000000000..b362ccc45b996d09a6bf970204a1a735a7741d8d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-details.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-edit-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-edit-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..6545235514219f2506c7a0d490bf1885516ff8cc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-edit-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-edit.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-edit.svg new file mode 100644 index 0000000000000000000000000000000000000000..f2a17de6b8d1feddb0653b6c23f8dcc0b8dfa5e1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-edit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-eye-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-eye-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..e36628a028bac8e1417814cb70b2c19d232e5668 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-eye-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-eye.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-eye.svg new file mode 100644 index 0000000000000000000000000000000000000000..9fb424118fca557eb81e9a23b3409c3948adb4e0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-eye.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..90b9e7af39fb3b550bbe122d47d9349491b0ecee --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-text-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-text-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f5dab18621e01646c69f1e5ae0c7fb830ff3d123 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-text-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-text.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-text.svg new file mode 100644 index 0000000000000000000000000000000000000000..2d826f0dff021921f512a68f232f465c5ace5df7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file-text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file.svg new file mode 100644 index 0000000000000000000000000000000000000000..1e63ee4bb5631f0c9fee0255b2c9ff90eb201dec --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-file.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-filter-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-filter-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..679650dbc92d97ca524771e6d857dc30868013b6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-filter-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-filter.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-filter.svg new file mode 100644 index 0000000000000000000000000000000000000000..0f21e93c06812c1791b85937b17de2ffdc8add8f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-filter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-group-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-group-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..a1eef019fc781444d919ce5eaecb56be95d47f54 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-group-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-group.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-group.svg new file mode 100644 index 0000000000000000000000000000000000000000..18456b5e7dcf5df9a851159d4a794d0e2b2304d6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-group.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-hard-hat-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-hard-hat-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..25b11517d9a957b46bcc7cf48d17f942f080606c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-hard-hat-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-hard-hat.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-hard-hat.svg new file mode 100644 index 0000000000000000000000000000000000000000..91787374b8be8b0e02220599c6994e1c46960a82 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-hard-hat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-heart-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-heart-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..6b79c812124079472699d68331b2005b10943d30 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-heart-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-heart.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-heart.svg new file mode 100644 index 0000000000000000000000000000000000000000..a1a41d6fe94569660e72a185ea5de3adfd5a88c3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-heart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-injury-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-injury-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..bf700daa47ffa3831cb8e78a8b95146aa9601721 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-injury-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-injury.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-injury.svg new file mode 100644 index 0000000000000000000000000000000000000000..7ae7899bf5c1cf5b4157cfbdb5fdf0c686182665 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-injury.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-key-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-key-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f6bcb36495d6c5d41c30f989b2c333aba2b6d785 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-key-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-key.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-key.svg new file mode 100644 index 0000000000000000000000000000000000000000..4a5e9334eaa0d311b30144f03ffd0511c87b4796 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-key.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-open-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-open-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..be17c71525fbf314817bab7fafd12d1fa9f3a2c8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-open-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-open.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-open.svg new file mode 100644 index 0000000000000000000000000000000000000000..c2621c687c3b38da5769608a3f4e6e91595b9089 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..8e5b9638179ad4cadcb7b0cea812cb4c170e87f6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock.svg new file mode 100644 index 0000000000000000000000000000000000000000..90d4a8184d16c94820d65dc0feefef2d502e5585 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-minus-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-minus-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..e54716d9115195c0ba536f3edaa4f28534ac094b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-minus-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-minus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-minus.svg new file mode 100644 index 0000000000000000000000000000000000000000..237fe4b28f9643b119ab59450aead1e5f802c22c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-check-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-check-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..aa1104c7bbd23f277b362e505f8445f4d3122bfc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-check-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-check.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-check.svg new file mode 100644 index 0000000000000000000000000000000000000000..2e12716c3e199fd7c79f0760abf55f5bc3beac3d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-minus-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-minus-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..810142c7aa2cac288c7cb9199ee86e6e3f1a08de --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-minus-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-minus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-minus.svg new file mode 100644 index 0000000000000000000000000000000000000000..10c4b1bf59e84ebfa834635a8aab876967a100ef --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..4b19609a673cfcb00eb67af818196f12e7c690af --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-plus-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-plus-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..cb44ba3e2531dfce11628b0abd0f3d800a8b00cd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-plus-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-plus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..eda0de5413091ddd363fc79488c63faffbcb9a33 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-remove-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-remove-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..d968f32196b19ebf230e17bf5c18ffc4edb88c7b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-remove-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-remove.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-remove.svg new file mode 100644 index 0000000000000000000000000000000000000000..049c91b7f13138f9ac131536c1828206c8807491 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple-remove.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple.svg new file mode 100644 index 0000000000000000000000000000000000000000..bd7c47d62f72f04acc8f7f6849843c80c2656fb5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-multiple.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-music-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-music-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..ae02270d447e7b19cd71f9c32abcd54d5e8c14aa --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-music-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-music.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-music.svg new file mode 100644 index 0000000000000000000000000000000000000000..abdb7b1f78c17d1eb551ec9e57e3a0a6030e5bba --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-music.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-off-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-off-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..e8619283be5718aa958166734bde1e3202116dc2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-off-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..b9963880f5e56350935bda51dbc5f5d4e8c9c62f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..e0cb111a3c6d049e94be1d971e6189519ac97792 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network.svg new file mode 100644 index 0000000000000000000000000000000000000000..9fe6a110ae1ca9d7df46663b98613e90c7c4699d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-network.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-off-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-off-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..6de9628d3dac501d4a4f499de049bb4dd6aafc03 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-off-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..e29b14c9b7db8b914912bd5917c239bed5bc6092 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..312bb470c3528ec576d60ed7eede4724bdb37eb8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-plus-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-plus-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..af93e5c04a0edfccc2a4fc11582e1e0c2ee72407 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-plus-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-plus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..0df7b3d2e8358c1d3c0a8362597ebd98163dfd0d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-question-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-question-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..24de08c792ba9cb52c5ca37e4ccdfe80a21a0d92 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-question-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-question.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-question.svg new file mode 100644 index 0000000000000000000000000000000000000000..777901d713152d58312fd00df0fa0ec746896712 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-question.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-reactivate-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-reactivate-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..a66844776054aa43fad109986ad6eea5603074b5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-reactivate-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-reactivate.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-reactivate.svg new file mode 100644 index 0000000000000000000000000000000000000000..f2e03b407920d71057ec0dddd037688ba2ef7f59 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-reactivate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-remove-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-remove-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..8999617fa6ab73b8529b9b6050f042e23ff796c9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-remove-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-remove.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-remove.svg new file mode 100644 index 0000000000000000000000000000000000000000..ab8c45f55453c9b183d423b44fd694063848314d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-remove.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-school-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-school-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b3d4e52fecb01ef766a53da192a126bc68391487 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-school-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-school.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-school.svg new file mode 100644 index 0000000000000000000000000000000000000000..55ef4d69c30909172f86e4a7ee5d0c3d840b0c23 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-school.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-search-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-search-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..9077b1d72b7351e2829734ccb8ac442e9cccc566 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-search-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-search.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-search.svg new file mode 100644 index 0000000000000000000000000000000000000000..d04efba913e87b08acea6f63e06642561b57d472 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-settings-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-settings-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..4a463ab397baa4da317c64fdc5ec897f20a1c09b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-settings-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-settings.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-settings.svg new file mode 100644 index 0000000000000000000000000000000000000000..5ba6a6038bc0ea1aed31f917716ed8111a57a1e9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-settings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-star-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-star-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f70b6f6a7edddfabf7ba88896299dfbf086d176d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-star-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-star.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-star.svg new file mode 100644 index 0000000000000000000000000000000000000000..370f6972eb29ecfac9eac8f62cb3bd45bdb8778e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..1197a12f8f3194739619ebea6e3e13ae3efcc694 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..8eadeba485679b2e946aa47d8429d1a87dc36aaf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..1aab733776e04ea5419114861a4f3ec3871b29b2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor.svg new file mode 100644 index 0000000000000000000000000000000000000000..307c0f902be597ab90539201be8728c3b4d047f9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-supervisor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-switch-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-switch-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..a1beea281898f5b91de908bb5e4e267fc13acc9f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-switch-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-switch.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-switch.svg new file mode 100644 index 0000000000000000000000000000000000000000..47882b2869c2e66e5b28796a0d9cdf47f6e52504 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-switch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-sync-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-sync-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..e4c373a1b690c1efa75ae334ebd9301fd99bf91a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-sync-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-sync.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-sync.svg new file mode 100644 index 0000000000000000000000000000000000000000..b62b16fd7736db8be6c7b95cb6725217316223b2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-sync.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tag-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tag-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f8a4eb7d0a68d25136916ff81eaea4c2e125485a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tag-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tag.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tag.svg new file mode 100644 index 0000000000000000000000000000000000000000..6fdd0ede7bc2ddb79223766d953634053188f3c6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-hat-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-hat-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..23d7f2192aa46493a22868f94af6904923953b1e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-hat-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-hat.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-hat.svg new file mode 100644 index 0000000000000000000000000000000000000000..f3aa4ebaee7602ebe2a8c62edaa3dd677050ff25 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-hat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..964c41042bf01a9cf23b695acc941061b1062ece --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-off-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-off-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..cd6fb917e81be0284e57e09abb91ff9dd1b10e10 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-off-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..1d6cbaf827861739d42e2db010617350c334d065 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f2717010a25257b4abdbbe352c2956df7b0d7fd1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice.svg new file mode 100644 index 0000000000000000000000000000000000000000..843a547b41128c2a6e062642ca42815b2434773f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-voice.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-woman.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-woman.svg new file mode 100644 index 0000000000000000000000000000000000000000..fb02ba9779a9c78ad144ce7c6b2b4eec97fb6f49 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie-woman.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie.svg new file mode 100644 index 0000000000000000000000000000000000000000..a53a1093f1dc8fe1346884ba889aefc1c6f5b8ef --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-tie.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-voice-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-voice-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..2154bd7265d2e4b8435ff8262e3c9978de4d62b5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-voice-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-voice.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-voice.svg new file mode 100644 index 0000000000000000000000000000000000000000..a1a8c3e2c911bfb7ca317b3946dfbb2de1a3e700 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-voice.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-wrench-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-wrench-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..a8de98ca295058b69aac01ecd6697af62ae2aeeb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-wrench-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-wrench.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-wrench.svg new file mode 100644 index 0000000000000000000000000000000000000000..b980c4a12ec994040aacfe8c74772166c9b7da98 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account-wrench.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account.svg new file mode 100644 index 0000000000000000000000000000000000000000..0cbb7bf2b7e5fa491167a667732fe8f8d5b67f4f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/account.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/adjust.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/adjust.svg new file mode 100644 index 0000000000000000000000000000000000000000..7aae6e91810e813d78dce7ac53397fc262f4afab --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/adjust.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/advertisements-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/advertisements-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..70fee2f4c477be20aae010eaccd8d928a9de0d11 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/advertisements-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/advertisements.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/advertisements.svg new file mode 100644 index 0000000000000000000000000000000000000000..bf2183c233ef4f04eb5148d610448c81dce24823 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/advertisements.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-conditioner.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-conditioner.svg new file mode 100644 index 0000000000000000000000000000000000000000..930cec3f3b099e0a15dcb3bb32a19371d764338c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-conditioner.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-filter.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-filter.svg new file mode 100644 index 0000000000000000000000000000000000000000..c00f5ad441600aa15f049e6cf5a4a530668395eb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-filter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-horn.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-horn.svg new file mode 100644 index 0000000000000000000000000000000000000000..feb63368568896dc8178a9a41d2aebc95fd4bf90 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-horn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-humidifier-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-humidifier-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..5dcc819b1378eee610f31ca6414ff4f9930726e7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-humidifier-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-humidifier.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-humidifier.svg new file mode 100644 index 0000000000000000000000000000000000000000..99dbc543235670eee63133e1fb531d5e0d16ea36 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-humidifier.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-purifier-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-purifier-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..a3069e937c3d498723806f6d4f75c9635752f763 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-purifier-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-purifier.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-purifier.svg new file mode 100644 index 0000000000000000000000000000000000000000..2d79334561bd4cdf7d00ecb69652414b1264df6a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/air-purifier.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airbag.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airbag.svg new file mode 100644 index 0000000000000000000000000000000000000000..849f6c3998a85627817b2a68801165dd24f75f91 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airbag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airballoon-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airballoon-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..6452a994373f7e5248ecc389233ff94951d3e6a0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airballoon-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airballoon.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airballoon.svg new file mode 100644 index 0000000000000000000000000000000000000000..36a922689f5ab76226367a53929f94041f78cf47 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airballoon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-alert.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-alert.svg new file mode 100644 index 0000000000000000000000000000000000000000..aa343d7ac69bdef3babe05260514a1a138746082 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-alert.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-check.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-check.svg new file mode 100644 index 0000000000000000000000000000000000000000..a20da6f97bf23f7e2659c2fe3d48b8c600687d46 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-clock.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-clock.svg new file mode 100644 index 0000000000000000000000000000000000000000..7c8b396bfebdb33267ed938399250ed8e3bfdc3d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-clock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-cog.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-cog.svg new file mode 100644 index 0000000000000000000000000000000000000000..a59e2b7842d24bff7948285a1f543a7ac8ec4185 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-cog.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-edit.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-edit.svg new file mode 100644 index 0000000000000000000000000000000000000000..8a677046349d622718fafc24b4d2edd91f4777d3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-edit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-landing.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-landing.svg new file mode 100644 index 0000000000000000000000000000000000000000..51ccade56eea35e0a1fd6a3ce288dbac94bdbde1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-landing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-marker.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-marker.svg new file mode 100644 index 0000000000000000000000000000000000000000..eccf1130e400764594fb2e3fba11ae51dccfa986 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-marker.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-minus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-minus.svg new file mode 100644 index 0000000000000000000000000000000000000000..2a81d2aeba0431f986a9ee3e9bb8f96e9a49cb97 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..20539cb0f5da6e90cb4f6997156a58308b8939a5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-plus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..91f585721a8a943abd86dfa333ec9c0c97ce5808 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-remove.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-remove.svg new file mode 100644 index 0000000000000000000000000000000000000000..2d143d5342b9412d9bd5574174729bb1456cfc3d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-remove.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-search.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-search.svg new file mode 100644 index 0000000000000000000000000000000000000000..35e017aa460e82d10b11a3777ac66dacbcaca8e7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-settings.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-settings.svg new file mode 100644 index 0000000000000000000000000000000000000000..133b1e7b79e00a5941c2a4747108cccf9adbca61 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-settings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-takeoff.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-takeoff.svg new file mode 100644 index 0000000000000000000000000000000000000000..aedd1f1f98ff56892b99655f4ffe45fc6dd6ab31 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane-takeoff.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane.svg new file mode 100644 index 0000000000000000000000000000000000000000..bacec5ef6dd790c6434bf39be6333df9c57da894 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airplane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airport.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airport.svg new file mode 100644 index 0000000000000000000000000000000000000000..8837aa58c2096a36e26ddd03e96d149e68578ba0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/airport.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-bell.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-bell.svg new file mode 100644 index 0000000000000000000000000000000000000000..78d53dd9d249dc0edf116d642ff45a64abd104c8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-bell.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-check.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-check.svg new file mode 100644 index 0000000000000000000000000000000000000000..3a6fd251e750aeadcc7594c0f22dda92c2b649db --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-off-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-off-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..fdded91e8c1da37c3b924eca8420201c7e65690a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-off-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..f77e5d9dd24990d28c3034b58a5da728225308f4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3a79defff5746698ea5fb8d289c182466c975676 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light.svg new file mode 100644 index 0000000000000000000000000000000000000000..f36b020e72a2de9a015bd21fe5e2b2aff83f55b3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-multiple.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-multiple.svg new file mode 100644 index 0000000000000000000000000000000000000000..72c08adb19c7dde37cec850adf07901b079c4151 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-multiple.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-note-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-note-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..2f408eb20f83d80d2a50f2e311a81e8534c9dd88 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-note-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-note.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-note.svg new file mode 100644 index 0000000000000000000000000000000000000000..a8ed3f9e563e3768d10f05ddca93b1ace850705c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-note.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..47d58074af8ca62ee90381207289c14bd71e49bf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-panel-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-panel-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..d0db4174b5169bacf50a9587e13cd303c320ce1b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-panel-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-panel.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-panel.svg new file mode 100644 index 0000000000000000000000000000000000000000..51fd528d5dc6b2c0a68ad986a2cc275347a33e08 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-panel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-plus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..9ba8ea0c560dba1c769ffaaddce693cbe8af1ddd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-snooze.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-snooze.svg new file mode 100644 index 0000000000000000000000000000000000000000..84e538955032a6c84c5b2cdebf8fb1d8f39a9813 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm-snooze.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm.svg new file mode 100644 index 0000000000000000000000000000000000000000..1e06e28aeedc659a9086038203c62bd6dd019f03 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alarm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/album.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/album.svg new file mode 100644 index 0000000000000000000000000000000000000000..e126e4e5765f1ae30e390afe484286fed990d65e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/album.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..2cb7b617ad5d2efb16c615bfd02032e097e69ea9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..fd9e69f9ed080c533f6af328163cf0d44c289818 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-check-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-check-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..084080697917e1ad9e11e47456a6eb4228cf8391 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-check-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-check.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-check.svg new file mode 100644 index 0000000000000000000000000000000000000000..c8724a1b70e2ae5bc375631522f456c1a8009a91 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..eb38fcbf4eeddaf7e0a78b9d605c7d3bc4a3da73 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..3e228333abd1a8dc53aec4288dd6197bf141fa8e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-decagram-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-decagram-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..942f96bc911e393a76df87eb112e104fb3245e62 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-decagram-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-decagram.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-decagram.svg new file mode 100644 index 0000000000000000000000000000000000000000..68be4c34b534209957168442fc4f47361b4905fc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-decagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-minus-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-minus-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..092de0a216fb86e3f30afe7f5ad6dba7d14457ea --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-minus-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-minus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-minus.svg new file mode 100644 index 0000000000000000000000000000000000000000..d6b39873d57369059159d2d1eda17c0b6bbd42ec --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagon-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagon-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3bdf7ebdaf0638c7eeeb5beb70414cd97d2adc90 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagon-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagon.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagon.svg new file mode 100644 index 0000000000000000000000000000000000000000..cb7dce60f43b1252e748be5ea1bd0b2f8c0c0929 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagram-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagram-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..47dc8d2442502bfcdc5f0a8c07dd965ae817e452 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagram-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagram.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagram.svg new file mode 100644 index 0000000000000000000000000000000000000000..45d329d6d1bc4101039042ef0508219f15727979 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-octagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..fa3f21eae96a111fcdc42afc76720742441ca376 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-plus-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-plus-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..1f1704670b2e38937d07171b067d7e765291f1e7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-plus-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-plus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..cec3ec7e042ce1779df649b4d9d74a81d44194aa --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-remove-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-remove-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..ff6cf0f94c45ca1950dad24d1086d5917e513e7b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-remove-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-remove.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-remove.svg new file mode 100644 index 0000000000000000000000000000000000000000..930bf9b88d4493506ad780c96c28c381f4ddad5f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-remove.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-rhombus-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-rhombus-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b7c99477eb6d7c4b9599d22bb16dc1e99f206dcc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-rhombus-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-rhombus.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-rhombus.svg new file mode 100644 index 0000000000000000000000000000000000000000..6cf7f739cf053c121d53a1dac1e0063db26b387f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert-rhombus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert.svg new file mode 100644 index 0000000000000000000000000000000000000000..3b0e970f7be108ddf2f196faf9dec00b14d44e36 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alert.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alien-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alien-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..c804077ed52f554b229f6bf428fa42af4295795c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alien-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alien.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alien.svg new file mode 100644 index 0000000000000000000000000000000000000000..bb9a08d13038fbf0195144ebe5dcb714e1a5f414 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alien.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-center.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-center.svg new file mode 100644 index 0000000000000000000000000000000000000000..c548e402ecb5a288d8b7b82b3a52df2f2e4d1c5d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-center.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-distribute.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-distribute.svg new file mode 100644 index 0000000000000000000000000000000000000000..f7dffeb4495a956968299a1ab33ab170ba2d0e4e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-distribute.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-left.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-left.svg new file mode 100644 index 0000000000000000000000000000000000000000..a498573ebb3f08173b09a3a247ebaf4b456f110e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-right.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-right.svg new file mode 100644 index 0000000000000000000000000000000000000000..27f009bd3f0b7db86bf55c853c5b9d2f2c737443 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-horizontal-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-bottom.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-bottom.svg new file mode 100644 index 0000000000000000000000000000000000000000..e1c0bd19374c21bf66187a4af3db1784dacb6193 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-bottom.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-center.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-center.svg new file mode 100644 index 0000000000000000000000000000000000000000..90a8d895839d11d2fa481510f3fabab632501622 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-center.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-distribute.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-distribute.svg new file mode 100644 index 0000000000000000000000000000000000000000..fb08062ade11d25023d391d0e6df7a9db4c24280 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-distribute.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-top.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-top.svg new file mode 100644 index 0000000000000000000000000000000000000000..61d180ef7b6cbaac90f20bf083bc2af7c54f4b8c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/align-vertical-top.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..79a6c91e65740793d486a923b2a0ecfde9e2da7e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..29219dbd41668af0dbf5d80b492a5d3797dc3902 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive.svg new file mode 100644 index 0000000000000000000000000000000000000000..6daecb456311900b47d1d45d139eeeb950d67ef7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/all-inclusive.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/allergy.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/allergy.svg new file mode 100644 index 0000000000000000000000000000000000000000..35ed33c10ae522c859334d858a4933ee304399ec --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/allergy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3a33ea38cd7eae57b90dc1c0afcf342798dbf2b2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..5b0665ca40c39a507bea3c4db97ce9a1a0ea448b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..4e76c9378a0a11f99962789fed32a539e3567292 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..42628a262e11c17bc1fb6e1a8a30d10b71ae38b7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a.svg new file mode 100644 index 0000000000000000000000000000000000000000..45031b26109ea27246ee87e98aabc9e4bb39facc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..23aa1728299354f7971386a0730e830a4f49fe1c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..1ceb7456220da244cb400d4dfd020245a62111e5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..2be1fa35225cdc2c885720d5da5e97e7e9837f6b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..40474a1339d313f834529758e28de026028381d0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b.svg new file mode 100644 index 0000000000000000000000000000000000000000..b14dadcf3f41639a02dfa03f731a401a947a2165 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..9899972f63682f1fc702c3867b6582e7fff0b713 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..afb4618b1361500e00bddbbe0f17b299f7a506a4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..2969a23bf7682a228e78752f52993d5db8af82e8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..78c27d5e44ab717e60c73cfe6560d43148a63931 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c.svg new file mode 100644 index 0000000000000000000000000000000000000000..ae01a3981796657c6d40878337a8522b0e85f031 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..0eddb48a4bd2b1c004c7fcbe14f3538d13be62dc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..6223815a1d09cf752a4dfaccc370c46a59e31aa9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..7a57824d18322139437e3924da8855d670fcbe81 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..f204e30b9c76e7be78db18cfc40056f3dc62cb75 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d.svg new file mode 100644 index 0000000000000000000000000000000000000000..5c3a2bb68e3ff98d8e2fdaf7684d5fdf7b7e4d35 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f6b916aec3ba7f15863e1ebca8232cbae030ab88 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..43529f5f21556a572a02959f8069ed4067d26484 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3b9236d0ebeb8b5a8af4b6c8fdf309f89ce5cf0b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..9d42df79a5a07bed25d7c3dadaa513d59c9e3da8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e.svg new file mode 100644 index 0000000000000000000000000000000000000000..ea8ab698c04aec16d828e3324fe66c9d23d9f536 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f41f507c8adbdc1e374ea4cfa1d6eb38d4eb3d18 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..4398c131cd9d97ead2e7dc7c433830f45807a5a5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..016a740654f76d91847f63d4da4955b0fca70c28 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..737e9b4feffdc95dcbc195a22a126b07d85232e3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f.svg new file mode 100644 index 0000000000000000000000000000000000000000..68d980ab3fcf7704f85d8e5ca04043b1866b978a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..4b9af4aaf24e12d9a3ba82102d8711a58054c116 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..1038152fc5db9b4368b2d9463e5ad662da1f4533 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..c66a94ebbfb02138ffb97f2166eb98dccd7c3a1e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..9df1384d7f7cba78109a5f7bde193cf1d2c63d77 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g.svg new file mode 100644 index 0000000000000000000000000000000000000000..e1cdf803e4161b0af63ea02702a0016b687f19a7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-g.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..69fa55413b53bef41ea11449cb1363d8fbf6190f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..c21e8d2ea14137ac2068b6a95aaa8d762f78922c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b8d4cae5125c37b81d6abc30de1b213457b4c4b0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..0b9d7a6a1bf46158b25e1a1a499d2bab99c4537b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h.svg new file mode 100644 index 0000000000000000000000000000000000000000..363241307f9784ab5ee9e624d63c52390b1355f3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-h.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..01637660dc76a5051ab167237b4cde40d915ebd4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..833705a8a8843ebaa1ec2898997b05c23eb7b961 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f8a333c269593bb3ec7bd23cb27d79e7cdfeb576 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..95ddceaf4b52073ed4b581e588797a54400bb314 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i.svg new file mode 100644 index 0000000000000000000000000000000000000000..a5f275ac1edeb3546bed2774de1f119b12841729 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-i.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3ecb030ce7e5e03d49a966168e9c6cf0bc758ece --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..d759732e8f32646441937cee6c685758a62043c6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..aea07344f93063a96c56cde8a4ff434c7b771b11 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..4ba99ffd41d30d2ca86c5b46372f6523a0dd79e0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j.svg new file mode 100644 index 0000000000000000000000000000000000000000..1304c37a2c0979ff6eaa54252c0da53d4ca1475a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-j.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3e61dc2f8d457a37e1dc505d447a6ecffeadd4c8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..70655cc98b847a809714d2e7be0cf18e83f9f0f7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..0b917603cc15f02b555a7e8d0109d5315840d6b2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..b691891f126452d72a4f6776f0a3dff327d413e6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k.svg new file mode 100644 index 0000000000000000000000000000000000000000..dabb75d2360ca76d16efb50bb2b8f5624453f95e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-k.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b39c1b502681f81422fd97d5fe4621a300f8b1a7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..4f470f95ac6df0d2df7df94de35eb6aaa8eb38a0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..5f60f5e66d135716af3d652f711e89b0168befbd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..afcef9520da8b5407f9389ed68f57461f5267004 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l.svg new file mode 100644 index 0000000000000000000000000000000000000000..bc75df11273c13ae3744c5a1e372d0206d80e113 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-l.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..4f704ecd41c159b1f4d3f5139f83b6a138504d34 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..d2833e2321a81725f2b463d363ffbd0e523f8907 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..be8513a12966ca0a7a17402b9c619a8e46fc0395 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..924f5106dd283793819053ec94660b96faca5356 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m.svg new file mode 100644 index 0000000000000000000000000000000000000000..9cc29cafcc3c0a9c026b08ff5cf273aa9e9ff4ec --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-m.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..970803414e4da61a8eb5b8adc292264c9915e726 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..1f324f787a90b25e2ed683a5561e8676236a10d5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..79fca50921a10bac09b35d95ad764b13593cdba8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..6d86c4bbaa83bc6f17dc747c27ed8284ebc3e86c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n.svg new file mode 100644 index 0000000000000000000000000000000000000000..0fac559f262130df87302152d2d6ea148ec1323d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-n.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..77a9f713d4b6cfbdcc90b830bb8b57206e428821 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..f7d4150c3eac82daa59c1db944e3accc0fb19d06 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..87da55d6fe4b36d1159e7c0edee6906d3daa0670 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..8bb8ad0208ad54d608868d3e0e47303b95a22087 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o.svg new file mode 100644 index 0000000000000000000000000000000000000000..d2c1cfd6f126ec993df9aea77a628e5cb6654f73 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-o.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..fe556a1c4da96dd75f836da6e075cf75c464e8ff --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..79ecb4c2ebfc5cadd5d69e6b909d86c45d0062db --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..9a07621e328d5f6ffc876f16fb05c7d1bf31552f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..5601083982d612859436fff0c55cbd00c1f6583d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p.svg new file mode 100644 index 0000000000000000000000000000000000000000..e09c4d8b140bc6694a9d3086f650cee255db69d5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-p.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..95fab655ae9c5950499b7d155fa19a50fe7e74c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..b4be10bbebd9f7d233991fd8eaf95af6773fb4ff --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..20e543139bdb3dc6411b2e1367c880f597b4fb9d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..3ab7f82c501c47bf08b1252582392bb4550bf637 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q.svg new file mode 100644 index 0000000000000000000000000000000000000000..ec45fcbee01d51b2bee41f0b9e1355c0d9eae68e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-q.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..47b7e6fc6d9bc026403b44d3e2018b6ee773dca4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..0517d81ae3009f8ba59e5e86f52b6c942db379c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b8ac579d7be285dde5181f437637ce9b8ab23688 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..38117ab61f5cbb3239279a5899903a81eb452d2b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r.svg new file mode 100644 index 0000000000000000000000000000000000000000..95cecbb6fd23153e324f2bba819316c4f5dd5115 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-r.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b5c194d7cbe09fa63833e7050364a4612b095252 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..48829b6280a7db627782b9b47393c38be81a4ad7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b87b952d89f474ea0e00d33038fdd1a029276e00 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..8aa5d5ce177eb57d1c7b76895b095c846546ed77 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s.svg new file mode 100644 index 0000000000000000000000000000000000000000..83706780ac4688bbf682fcef3f051de2268e00f9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-s.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..9b0cf8ef1614dcccf52b4543f476c1e3a86d60a2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..b1ead42c3333b7dafc4e6b09f7759ecb5c315bad --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..ff1311eb7ba7cb5c712a2c3312443ca53afc3883 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..9255a526dde01c3d0813e9c39c65e5344eee2640 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t.svg new file mode 100644 index 0000000000000000000000000000000000000000..21ef5b02c558cfd0c424a53e6f30a6b6043ac52e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-t.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..d9f178361a0cd115f13a3889b3cff48cd659cc42 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..6b1472422c41ef85b86e25a135b6b61dc3639449 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..432baa32897f2cc4e5aebaf92e0b9ef6ad9725f4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..39b485f1c206593de40cdc548fb1651620d37673 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u.svg new file mode 100644 index 0000000000000000000000000000000000000000..45282b9662c5c307a12698a34ca5164b87cf41af --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-u.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..baa3fb009a4faa0774d50cee75c9436a92460d63 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..50f663ae94c608a6cd4669d05b77c2058ac3f42c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..78bcaca7bf022e597f7101b54d5da5741b7db74a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..c6499e55c98afbf1f1c9422abb2b217120a4ec4b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v.svg new file mode 100644 index 0000000000000000000000000000000000000000..10348d9ef3968448592ddfa4fb20f907ad5a49f9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-v.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..5a68d3b7eb9fe43b44d551b6be9e4be043b5edb0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..252b8b40acef780769c34b6f97525eb8f70a65de --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..64d0eb83e402d7713c3c1971053fb81c1cf39447 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..0c08fc123890e11b68cc02039135a050de76bf1c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w.svg new file mode 100644 index 0000000000000000000000000000000000000000..4befb5b86f4e00075241f764f3e36cd46ff054dd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-w.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..512f288595fde40883702d5e9234272fa6ed803e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..2cdbd722515e814d9bb6822fac8cfb9ed24dfc04 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..557ad5fcdeb8b3ead1437406093179f46e6815c5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..9be65895a040183392ad2bceb0e8d94cbdface6e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x.svg new file mode 100644 index 0000000000000000000000000000000000000000..e0e10be3ad8752aae6e4c816edc5d8b81ed6aaf5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..c2ccf3ca69b325e4e70641662e75785b76eb1b0e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..5273d978b6b03d6f9ca3ca9b39bd342722627bad --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..776700b8e448437bb9a18d3fff521767baa2e2c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..2d28f3cc957d0e8ecff7ea25a0678e0414ce802f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y.svg new file mode 100644 index 0000000000000000000000000000000000000000..a84c1f62f1afda4650e0f41e8acab892c726c17e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-y.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-box-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-box-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..7da926edeb94a6955bb0a7324ac2ab528941f13a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-box-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..f5c9e6e3d49c61a2fb9351a928d45a63be22c5a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-circle-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-circle-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..c08823776ab98439e2f25ec664e15da62afe4641 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-circle.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-circle.svg new file mode 100644 index 0000000000000000000000000000000000000000..ad8d0d875dd2da13920ab1be81aafb1ed66cf20e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z.svg new file mode 100644 index 0000000000000000000000000000000000000000..f339a6747c0b417f5ed324c239631c3ffcaac964 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha-z.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha.svg new file mode 100644 index 0000000000000000000000000000000000000000..e5238635953291381a22fe5217053a5b960e891f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alpha.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-aurebesh.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-aurebesh.svg new file mode 100644 index 0000000000000000000000000000000000000000..993c1f1352039058a6e3956a571d0e4024f44a33 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-aurebesh.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-cyrillic.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-cyrillic.svg new file mode 100644 index 0000000000000000000000000000000000000000..a0b11fef0aef2361adfc98c90ffdd1ca3d948f51 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-cyrillic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-greek.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-greek.svg new file mode 100644 index 0000000000000000000000000000000000000000..a7bc8b945a510bc8b44a9d652b35b91f7985c8f6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-greek.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-latin.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-latin.svg new file mode 100644 index 0000000000000000000000000000000000000000..bb9bfc231dad29573a391beff88a3eb83b9d4f9f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-latin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-piqad.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-piqad.svg new file mode 100644 index 0000000000000000000000000000000000000000..b3652fcc905901d2743406cce22c9ecf12c6d5db --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-piqad.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-tengwar.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-tengwar.svg new file mode 100644 index 0000000000000000000000000000000000000000..0f172c257326a8c9a10f7cdd599a0bcd47977239 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabet-tengwar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..7af40e6a50813d13f7744016a7cf580646879a16 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-variant-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-variant-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..6c3231a451e029f121d89dbcd544d9e73f423f4b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-variant-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-variant.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-variant.svg new file mode 100644 index 0000000000000000000000000000000000000000..1f1348574a5e2c98af9c022432bc309f015d51e3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical-variant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical.svg new file mode 100644 index 0000000000000000000000000000000000000000..972ad811f01bca1256773c5d418b7d264c0558ed --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/alphabetical.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/altimeter.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/altimeter.svg new file mode 100644 index 0000000000000000000000000000000000000000..99055a58a524b4b80396c571fac35cabf7409084 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/altimeter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ambulance.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ambulance.svg new file mode 100644 index 0000000000000000000000000000000000000000..16c1b5a77f4f4680bf0c5faa100d079439725597 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ambulance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ammunition.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ammunition.svg new file mode 100644 index 0000000000000000000000000000000000000000..cd2ff1ccce20ecfa4695592ec7b2b00b14639788 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ammunition.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ampersand.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ampersand.svg new file mode 100644 index 0000000000000000000000000000000000000000..ebfe9ef5c0fb80778664800d71d1d5cdd40184b6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ampersand.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/amplifier-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/amplifier-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..28feb7c77565001ed60a3494cc3901d09a36e648 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/amplifier-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/amplifier.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/amplifier.svg new file mode 100644 index 0000000000000000000000000000000000000000..14419bee2055840b9a65b64031db915c1f5e7ec8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/amplifier.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/anchor.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/anchor.svg new file mode 100644 index 0000000000000000000000000000000000000000..9e21b7a70ccea744fd0a09ad5992ad9f49979ed2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/anchor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/android-studio.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/android-studio.svg new file mode 100644 index 0000000000000000000000000000000000000000..dcce4742ddefb7054f3297922df71f6eebe5a5a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/android-studio.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/android.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/android.svg new file mode 100644 index 0000000000000000000000000000000000000000..ba118ad44ab585149e7896c286e4f895434f4633 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/android.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-acute.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-acute.svg new file mode 100644 index 0000000000000000000000000000000000000000..820e36d4797b2a14e613d22143ca592bb06f91c3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-acute.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-obtuse.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-obtuse.svg new file mode 100644 index 0000000000000000000000000000000000000000..6df330ed666e29fc18c8ffc43b3f8816fd9fdc1f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-obtuse.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-right.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-right.svg new file mode 100644 index 0000000000000000000000000000000000000000..dc99b2bd034764f76fa58d5ba192c40afaf577b7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angle-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angular.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angular.svg new file mode 100644 index 0000000000000000000000000000000000000000..8b97aa0b99d06d6ee720aaf59a62f1c0d40bb9e4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angular.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angularjs.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angularjs.svg new file mode 100644 index 0000000000000000000000000000000000000000..8edf42e2765f3634476ca21e677f56f70be9ea63 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/angularjs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..22c3aebd36ef2e8056339e028b48a7f32a876ed1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-play-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-play-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..30c6384bf7734fa63195dedd07b577cfa6a82d3b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-play-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-play.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-play.svg new file mode 100644 index 0000000000000000000000000000000000000000..c11060e1c8d1e7d8fd0fcd211ef6020d2a07d9de --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation-play.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation.svg new file mode 100644 index 0000000000000000000000000000000000000000..2b7de5d8b4ae590b707337f143f9d78b1fb921b7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/animation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ansible.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ansible.svg new file mode 100644 index 0000000000000000000000000000000000000000..0bad9438501f21b5b23e4e5656ba2380a8d8bc37 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/ansible.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/antenna.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/antenna.svg new file mode 100644 index 0000000000000000000000000000000000000000..95de86fe8e650ef4fabe5c80ccc47e08a9799c2f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/antenna.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/anvil.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/anvil.svg new file mode 100644 index 0000000000000000000000000000000000000000..5449b48f1b9f377ac1f5178a0438e1a56eab3148 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/anvil.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apache-kafka.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apache-kafka.svg new file mode 100644 index 0000000000000000000000000000000000000000..68ce8f02fc389f58776919640771585f58a301fe --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apache-kafka.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/api-off.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/api-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..8431c37cd8e5c1bd4ac084776e785a799d70ee13 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/api-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/api.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/api.svg new file mode 100644 index 0000000000000000000000000000000000000000..dfd579a50e49e0568b31c4dc82d5a7c347b90f40 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/api.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-finder.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-finder.svg new file mode 100644 index 0000000000000000000000000000000000000000..b6ec17ccaaf3cfb3db8c9c8523ffe61f8fb41b1a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-finder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-icloud.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-icloud.svg new file mode 100644 index 0000000000000000000000000000000000000000..e91ce065b504d1ebb9b06fdf56b854747ef1ac4d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-icloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-ios.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-ios.svg new file mode 100644 index 0000000000000000000000000000000000000000..48be7b5ca796cb3b291905367f5c42640b73db8b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-ios.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-caps.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-caps.svg new file mode 100644 index 0000000000000000000000000000000000000000..df63558fe52c4b8769e165072ba3984187b4809c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-caps.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-command.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-command.svg new file mode 100644 index 0000000000000000000000000000000000000000..b3850ddded39b946647f69d88c735090559d5ba7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-command.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-control.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-control.svg new file mode 100644 index 0000000000000000000000000000000000000000..af15573bf36b518029ebe3b150bd24a245178f35 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-control.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-option.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-option.svg new file mode 100644 index 0000000000000000000000000000000000000000..c2f42aeb9108f02c4f5be7a2a1e77e5d4aabb065 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-option.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-shift.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-shift.svg new file mode 100644 index 0000000000000000000000000000000000000000..5f1894a5cddec09ad72faa2683cd33fcdd4ab6bd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-keyboard-shift.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-safari.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-safari.svg new file mode 100644 index 0000000000000000000000000000000000000000..dd53451ee619cb892a66ebe061d7488286fc9e1a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple-safari.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple.svg new file mode 100644 index 0000000000000000000000000000000000000000..4f7b4338119456806b7af5da15865147f34b1c2c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apple.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-array-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-array-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..9774732dc08417b825d36ed434de2cd6371d45c1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-array-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-array.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-array.svg new file mode 100644 index 0000000000000000000000000000000000000000..c625efa8f066dd303235a7f7bade6d10c3bfa7fe --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-array.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-braces-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-braces-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..74d36146e31106d6c8f7c424bd46aa75489b77b4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-braces-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-braces.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-braces.svg new file mode 100644 index 0000000000000000000000000000000000000000..dde6f735f5e6427834390ce183940914b00d1703 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-braces.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-brackets-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-brackets-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..91aaa7665a4963cbd6d44fec9a8af8d6603ce796 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-brackets-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-brackets.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-brackets.svg new file mode 100644 index 0000000000000000000000000000000000000000..a4d277734dd655079336f63c4821570bb9fb4f53 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-brackets.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-cog-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-cog-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..b420a56de48e00b3b8ae5ffdda24dbdf93c28b22 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-cog-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-cog.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-cog.svg new file mode 100644 index 0000000000000000000000000000000000000000..12be5b9bc6846d997668dcb9e48ff6fd77ac3d10 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-cog.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-edit-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-edit-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f7b10a9d73d3cfed264e72111cf76030d34770b7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-edit-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-edit.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-edit.svg new file mode 100644 index 0000000000000000000000000000000000000000..f394edb8fc4734760a3b4039005d3e38d98872b6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-edit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-export.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-export.svg new file mode 100644 index 0000000000000000000000000000000000000000..40fce7f47afebd9102187b060b9ddb5ebb3b32a2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-export.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-import.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-import.svg new file mode 100644 index 0000000000000000000000000000000000000000..358b91fd90c0a842f1058dc1e531a4d4b4fbbca1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-import.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f69469d2902f5eeb81da28dc32950507d458094f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-parentheses-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-parentheses-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..680d4d39b99dceb59d41e6c7dda7ae1a63728601 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-parentheses-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-parentheses.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-parentheses.svg new file mode 100644 index 0000000000000000000000000000000000000000..6a6f39a629223766ea5ed6885b0a835c2aff2c24 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-parentheses.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-settings-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-settings-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..f5306a5eee824c97366cacd74ebec6195ee2cd3b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-settings-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-settings.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-settings.svg new file mode 100644 index 0000000000000000000000000000000000000000..91a7407198904eb17714cc27a0a3e62b74867986 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-settings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-variable-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-variable-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..1e94c15fca9cf6512aeeb7317b40b411cac88419 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-variable-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-variable.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-variable.svg new file mode 100644 index 0000000000000000000000000000000000000000..4522571238d41df0618124b2462a16ce783bc1dc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application-variable.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application.svg new file mode 100644 index 0000000000000000000000000000000000000000..cf0d4af459ef1b6b9ad34cdc1ac2520dc1d1744e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/application.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/approximately-equal-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/approximately-equal-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..f372b9d69e4399de7b1375effc916ed729e83cd9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/approximately-equal-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/approximately-equal.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/approximately-equal.svg new file mode 100644 index 0000000000000000000000000000000000000000..f205833412e6fb728f6d93d9f72615475affd4cb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/approximately-equal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apps-box.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apps-box.svg new file mode 100644 index 0000000000000000000000000000000000000000..d78e9611b0e5245c560dcda92c7298b8484debd9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apps-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apps.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apps.svg new file mode 100644 index 0000000000000000000000000000000000000000..45b93add1c13d80396ce997e7a693790ab1d8caf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/apps.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/arch.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/arch.svg new file mode 100644 index 0000000000000000000000000000000000000000..b015f301d56d8fe16817a393b985de1f3aa9d3c0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/arch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-alert-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-alert-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..52c979ce99c739cf04e0d2df85138154c7089069 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-alert-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-alert.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-alert.svg new file mode 100644 index 0000000000000000000000000000000000000000..94162bcf9f3c35c6f428e6cb39577c2b0e66bc95 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-alert.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-down-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-down-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..e98053d7a226dd5abc6c9162d9305cc1ea6b580b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-down-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-down.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-down.svg new file mode 100644 index 0000000000000000000000000000000000000000..c89dc8b2eb0a174bd8c869436173492f760a14cf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-up-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-up-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..a36697e45dd7fb229868cd27730ee6794bb0003d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-up-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-up.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-up.svg new file mode 100644 index 0000000000000000000000000000000000000000..3a37980919b26e7564c9f9a4834981a51329cb90 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-arrow-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-cancel-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-cancel-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..3ea2970f04970f161611b2b91bce7670337ffe73 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-cancel-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-cancel.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-cancel.svg new file mode 100644 index 0000000000000000000000000000000000000000..418dbc4f560d9add80996544649a5242138821df --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-cancel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-check-outline.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-check-outline.svg new file mode 100644 index 0000000000000000000000000000000000000000..0e8d593e43e970ba1ccd8ac26aa1b4dd09d6ec05 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-check-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-check.svg b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-check.svg new file mode 100644 index 0000000000000000000000000000000000000000..90faeacafb27743d19cd6b25638491c61c25970a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/.icons/material/archive-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/404.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/404.html new file mode 100644 index 0000000000000000000000000000000000000000..ae765c44c63b95ce959a137ea385651265a533ea --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/404.html @@ -0,0 +1,7 @@ +{#- + This file was automatically generated - do not edit +-#} +{% extends "main.html" %} +{% block content %} +

404 - Not found

+{% endblock %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d18993785789130980a8b950300a805c94b33047 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/__init__.py @@ -0,0 +1,19 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..138feec07fa5b4fa142cbe3db1af8f55d463fc9c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/base.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/base.html new file mode 100644 index 0000000000000000000000000000000000000000..4cd9966cc4f23114d764a6e2d841f4b928a20d6e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/base.html @@ -0,0 +1,258 @@ +{#- + This file was automatically generated - do not edit +-#} +{% import "partials/language.html" as lang with context %} + + + + {% block site_meta %} + + + {% if page.meta and page.meta.description %} + + {% elif config.site_description %} + + {% endif %} + {% if page.meta and page.meta.author %} + + {% elif config.site_author %} + + {% endif %} + {% if page.canonical_url %} + + {% endif %} + {% if page.previous_page %} + + {% endif %} + {% if page.next_page %} + + {% endif %} + {% if "rss" in config.plugins %} + + + {% endif %} + + + {% endblock %} + {% block htmltitle %} + {% if page.meta and page.meta.title %} + {{ page.meta.title }} - {{ config.site_name }} + {% elif page.title and not page.is_homepage %} + {{ page.title | striptags }} - {{ config.site_name }} + {% else %} + {{ config.site_name }} + {% endif %} + {% endblock %} + {% block styles %} + + {% if config.theme.palette %} + {% set palette = config.theme.palette %} + + {% endif %} + {% include "partials/icons.html" %} + {% endblock %} + {% block libs %} + {% for script in config.extra.polyfills %} + {{ script | script_tag }} + {% endfor %} + {% endblock %} + {% block fonts %} + {% if config.theme.font != false %} + {% set text = config.theme.font.get("text", "Roboto") %} + {% set code = config.theme.font.get("code", "Roboto Mono") %} + + + + {% endif %} + {% endblock %} + {% for path in config.extra_css %} + + {% endfor %} + {% include "partials/javascripts/base.html" %} + {% block analytics %} + {% include "partials/integrations/analytics.html" %} + {% endblock %} + {% if page.meta and page.meta.meta %} + {% for tag in page.meta.meta %} + + {% endfor %} + {% endif %} + {% block extrahead %}{% endblock %} + + {% set direction = config.theme.direction or lang.t("direction") %} + {% if config.theme.palette %} + {% set palette = config.theme.palette %} + {% if not palette is mapping %} + {% set palette = palette | first %} + {% endif %} + {% set scheme = palette.scheme | d("default", true) %} + {% set primary = palette.primary | d("indigo", true) %} + {% set accent = palette.accent | d("indigo", true) %} + + {% else %} + + {% endif %} + {% set features = config.theme.features or [] %} + + + +
+ {% if page.toc | first is defined %} + {% set skip = page.toc | first %} + + {{ lang.t("action.skip") }} + + {% endif %} +
+
+ {% if self.announce() %} + + {% endif %} +
+ {% if config.extra.version %} + + {% endif %} + {% block header %} + {% include "partials/header.html" %} + {% endblock %} +
+ {% block hero %}{% endblock %} + {% block tabs %} + {% if "navigation.tabs.sticky" not in features %} + {% if "navigation.tabs" in features %} + {% include "partials/tabs.html" %} + {% endif %} + {% endif %} + {% endblock %} +
+
+ {% block site_nav %} + {% if nav %} + {% if page.meta and page.meta.hide %} + {% set hidden = "hidden" if "navigation" in page.meta.hide %} + {% endif %} + + {% endif %} + {% if "toc.integrate" not in features %} + {% if page.meta and page.meta.hide %} + {% set hidden = "hidden" if "toc" in page.meta.hide %} + {% endif %} + + {% endif %} + {% endblock %} + {% block container %} +
+
+ {% block content %} + {% include "partials/content.html" %} + {% endblock %} +
+
+ {% endblock %} + {% include "partials/javascripts/content.html" %} +
+ {% if "navigation.top" in features %} + {% include "partials/top.html" %} + {% endif %} +
+ {% block footer %} + {% include "partials/footer.html" %} + {% endblock %} +
+
+
+
+ {% if "navigation.instant.progress" in features %} + {% include "partials/progress.html" %} + {% endif %} + {% if config.extra.consent %} + + {% include "partials/javascripts/consent.html" %} + {% endif %} + {% block config %} + {%- set app = { + "base": base_url, + "features": features, + "translations": {}, + "search": "assets/javascripts/workers/search.f886a092.min.js" | url + } -%} + {%- if config.extra.version -%} + {%- set mike = config.plugins.get("mike") -%} + {%- if not mike or mike.config.version_selector -%} + {%- set _ = app.update({ "version": config.extra.version }) -%} + {%- endif -%} + {%- endif -%} + {%- if config.extra.tags -%} + {%- set _ = app.update({ "tags": config.extra.tags }) -%} + {%- endif -%} + {%- set translations = app.translations -%} + {%- for key in [ + "clipboard.copy", + "clipboard.copied", + "search.result.placeholder", + "search.result.none", + "search.result.one", + "search.result.other", + "search.result.more.one", + "search.result.more.other", + "search.result.term.missing", + "select.version" + ] -%} + {%- set _ = translations.update({ key: lang.t(key) }) -%} + {%- endfor -%} + + {% endblock %} + {% block scripts %} + + {% for script in config.extra_javascript %} + {{ script | script_tag }} + {% endfor %} + {% endblock %} + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/blog-post.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/blog-post.html new file mode 100644 index 0000000000000000000000000000000000000000..6804a6af9fe29ee9dcb6b352b758ea776984c1ab --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/blog-post.html @@ -0,0 +1,119 @@ +{#- + This file was automatically generated - do not edit +-#} +{% extends "main.html" %} +{% import "partials/nav-item.html" as item with context %} +{% block container %} +
+
+
+
+ + {% if "toc.integrate" in features %} + {% include "partials/toc.html" %} + {% endif %} +
+
+
+
+ {% block content %} + {% include "partials/content.html" %} + {% endblock %} +
+
+{% endblock %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/blog.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/blog.html new file mode 100644 index 0000000000000000000000000000000000000000..cbcf2d89d407ae5da86ac54c915aa9203bdcb3e4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/blog.html @@ -0,0 +1,21 @@ +{#- + This file was automatically generated - do not edit +-#} +{% extends "main.html" %} +{% block container %} +
+
+
+ {{ page.content }} +
+ {% for post in posts %} + {% include "partials/post.html" %} + {% endfor %} + {% if pagination %} + {% block pagination %} + {% include "partials/pagination.html" %} + {% endblock %} + {% endif %} +
+
+{% endblock %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/main.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/main.html new file mode 100644 index 0000000000000000000000000000000000000000..094a197b0e59d820cac15a5b47868e0050d5d1a0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/main.html @@ -0,0 +1,4 @@ +{#- + This file was automatically generated - do not edit +-#} +{% extends "base.html" %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/mkdocs_theme.yml b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/mkdocs_theme.yml new file mode 100644 index 0000000000000000000000000000000000000000..aaa47f5ea3243a3c4bd5afc0089f18f0ad2bb720 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/mkdocs_theme.yml @@ -0,0 +1,50 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +# Language for theme localization +language: en + +# Text direction (can be ltr or rtl), default: ltr +direction: + +# Feature flags for functionality that alters behavior significantly, and thus +# may be a matter of taste +features: [] + +# Fonts used by Material, automatically loaded from Google Fonts - see the site +# for a list of available fonts +font: + + # Default font for text + text: Roboto + + # Fixed-width font for code listings + code: Roboto Mono + +# From Material 5.x on, icons are inlined into the HTML and CSS as SVGs. +# Icons that are part of the HTML can be configured and replaced +icon: + +# Favicon to be rendered +favicon: assets/images/favicon.png + +# Static pages to build +static_templates: + - 404.html diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/actions.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/actions.html new file mode 100644 index 0000000000000000000000000000000000000000..1031f1517b7f29163b110c4134fd4d2c84776ed1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/actions.html @@ -0,0 +1,22 @@ +{#- + This file was automatically generated - do not edit +-#} +{% if page.edit_url %} + {% if "content.action.edit" in features %} + + {% set icon = config.theme.icon.edit or "material/file-edit-outline" %} + {% include ".icons/" ~ icon ~ ".svg" %} + + {% endif %} + {% if "content.action.view" in features %} + {% if "/blob/" in page.edit_url %} + {% set part = "blob" %} + {% else %} + {% set part = "edit" %} + {% endif %} + + {% set icon = config.theme.icon.view or "material/file-eye-outline" %} + {% include ".icons/" ~ icon ~ ".svg" %} + + {% endif %} +{% endif %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/alternate.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/alternate.html new file mode 100644 index 0000000000000000000000000000000000000000..4492d6576722755eb0845005bcc5d96f13b9dfa2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/alternate.html @@ -0,0 +1,22 @@ +{#- + This file was automatically generated - do not edit +-#} +
+
+ {% set icon = config.theme.icon.alternate or "material/translate" %} + +
+ +
+
+
diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/comments.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/comments.html new file mode 100644 index 0000000000000000000000000000000000000000..fae1698d2c7d4e1caae9b34dba6da565d4606bac --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/comments.html @@ -0,0 +1,3 @@ +{#- + This file was automatically generated - do not edit +-#} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/consent.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/consent.html new file mode 100644 index 0000000000000000000000000000000000000000..4ac5cb775822718870a1af3cd3f16343a6ed3352 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/consent.html @@ -0,0 +1,66 @@ +{#- + This file was automatically generated - do not edit +-#} +{% set cookies = config.extra.consent.cookies | d({}) %} +{% if config.extra.analytics %} + {% if "analytics" not in cookies %} + {% set _ = cookies.update({ "analytics": "Google Analytics" }) %} + {% endif %} +{% endif %} +{% if config.repo_url and "github.com" in config.repo_url %} + {% if "github" not in cookies %} + {% set _ = cookies.update({ "github": "GitHub" }) %} + {% endif %} +{% endif %} +{% set actions = config.extra.consent.actions %} +{% if not actions %} + {% set actions = ["accept", "manage"] %} +{% endif %} +{% if "manage" not in actions %} + {% set checked = "checked" %} +{% endif %} +

{{ config.extra.consent.title }}

+

{{ config.extra.consent.description }}

+ + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/content.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/content.html new file mode 100644 index 0000000000000000000000000000000000000000..282a0b6d4d36cbef6e5f94ac5a5dca86d01677c0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/content.html @@ -0,0 +1,14 @@ +{#- + This file was automatically generated - do not edit +-#} +{% if "material/tags" in config.plugins and tags %} + {% include "partials/tags.html" %} +{% endif %} +{% include "partials/actions.html" %} +{% if "\x3ch1" not in page.content %} +

{{ page.title | d(config.site_name, true)}}

+{% endif %} +{{ page.content }} +{% include "partials/source-file.html" %} +{% include "partials/feedback.html" %} +{% include "partials/comments.html" %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/copyright.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/copyright.html new file mode 100644 index 0000000000000000000000000000000000000000..5da0dc4ba337f1a925e6fd4979d1fc1239157b21 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/copyright.html @@ -0,0 +1,16 @@ +{#- + This file was automatically generated - do not edit +-#} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/feedback.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/feedback.html new file mode 100644 index 0000000000000000000000000000000000000000..2cde98c75df94bbe2d9fe6005111a7fc72308729 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/feedback.html @@ -0,0 +1,42 @@ +{#- + This file was automatically generated - do not edit +-#} +{% if config.extra.analytics %} + {% set feedback = config.extra.analytics.feedback %} +{% endif %} +{% if page.meta and page.meta.hide %} + {% if "feedback" in page.meta.hide %} + {% set feedback = None %} + {% endif %} +{% endif %} +{% if feedback %} + +{% endif %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/footer.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/footer.html new file mode 100644 index 0000000000000000000000000000000000000000..37783bcf8f97529127bcf832fe5df90e2f15c600 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/footer.html @@ -0,0 +1,56 @@ +{#- + This file was automatically generated - do not edit +-#} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/header.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/header.html new file mode 100644 index 0000000000000000000000000000000000000000..29c2e998f39658f555c0b840a35cf289bb49f671 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/header.html @@ -0,0 +1,66 @@ +{#- + This file was automatically generated - do not edit +-#} +{% set class = "md-header" %} +{% if "navigation.tabs.sticky" in features %} + {% set class = class ~ " md-header--shadow md-header--lifted" %} +{% elif "navigation.tabs" not in features %} + {% set class = class ~ " md-header--shadow" %} +{% endif %} +
+ + {% if "navigation.tabs.sticky" in features %} + {% if "navigation.tabs" in features %} + {% include "partials/tabs.html" %} + {% endif %} + {% endif %} +
diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/icons.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/icons.html new file mode 100644 index 0000000000000000000000000000000000000000..3fb55a6eb912086ce7e290d4940b687f5a97971a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/icons.html @@ -0,0 +1,48 @@ +{#- + This file was automatically generated - do not edit +-#} +{% if config.theme.icon.admonition %} + {% set style = ["\x3cstyle\x3e:root{"] %} + {% for type, icon in config.theme.icon.admonition.items() %} + {% import ".icons/" ~ icon ~ ".svg" as icon %} + {% set _ = style.append( + "--md-admonition-icon--" ~ type ~ ":" ~ + "url('data:image/svg+xml;charset=utf-8," ~ + icon | replace("\n", "") ~ + "');" + ) %} + {% endfor %} + {% set _ = style.append("}\x3c/style\x3e") %} + {{ style | join }} +{% endif %} +{% if config.theme.icon.annotation %} + {% set style = ["\x3cstyle\x3e:root{"] %} + {% import ".icons/" ~ config.theme.icon.annotation ~ ".svg" as icon %} + {% set _ = style.append( + "--md-annotation-icon:" ~ + "url('data:image/svg+xml;charset=utf-8," ~ + icon | replace("\n", "") ~ + "');" + ) %} + {% set _ = style.append("}\x3c/style\x3e") %} + {{ style | join }} +{% endif %} +{% if config.theme.icon.tag %} + {% set style = ["\x3cstyle\x3e"] %} + {% for type, icon in config.theme.icon.tag.items() %} + {% import ".icons/" ~ icon ~ ".svg" as icon %} + {% if type != "default" %} + {% set modifier = "--" ~ type %} + {% endif %} + {% set _ = style.append( + ".md-tag" ~ modifier ~ "{" ~ + "--md-tag-icon:" ~ + "url('data:image/svg+xml;charset=utf-8," ~ + icon | replace("\n", "") ~ + "');" ~ + "}" + ) %} + {% endfor %} + {% set _ = style.append("\x3c/style\x3e") %} + {{ style | join }} +{% endif %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/language.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/language.html new file mode 100644 index 0000000000000000000000000000000000000000..e497e66ba5b689b25776f8a5d20c6424d4780c94 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/language.html @@ -0,0 +1,6 @@ +{#- + This file was automatically generated - do not edit +-#} +{% import "partials/languages/" ~ config.theme.language ~ ".html" as lang %} +{% import "partials/languages/en.html" as fallback %} +{% macro t(key) %}{{ lang.t(key) or fallback.t(key) or key }}{% endmacro %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/logo.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/logo.html new file mode 100644 index 0000000000000000000000000000000000000000..6d80f2ce74e117a1a454c767d83b9b1e3f9feadb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/logo.html @@ -0,0 +1,9 @@ +{#- + This file was automatically generated - do not edit +-#} +{% if config.theme.logo %} + logo +{% else %} + {% set icon = config.theme.icon.logo or "material/library" %} + {% include ".icons/" ~ icon ~ ".svg" %} +{% endif %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/nav-item.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/nav-item.html new file mode 100644 index 0000000000000000000000000000000000000000..d127bb16cce9fd62ab8ac54e6079cde00eb68ad1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/nav-item.html @@ -0,0 +1,139 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro render_status(nav_item, type) %} + {% set class = "md-status md-status--" ~ type %} + {% if config.extra.status and config.extra.status[type] %} + + + {% else %} + + {% endif %} +{% endmacro %} +{% macro render_content(nav_item, ref = nav_item) %} + {% if nav_item.is_page and nav_item.meta.icon %} + {% include ".icons/" ~ nav_item.meta.icon ~ ".svg" %} + {% endif %} + + {{ ref.title }} + + {% if nav_item.is_page and nav_item.meta.status %} + {{ render_status(nav_item, nav_item.meta.status) }} + {% endif %} +{% endmacro %} +{% macro render_pruned(nav_item, ref = nav_item) %} + {% set first = nav_item.children | first %} + {% if first and first.children %} + {{ render_pruned(first, ref) }} + {% else %} + + {{ render_content(ref) }} + {% if nav_item.children | length > 0 %} + + {% endif %} + + {% endif %} +{% endmacro %} +{% macro render(nav_item, path, level) %} + {% set class = "md-nav__item" %} + {% if nav_item.active %} + {% set class = class ~ " md-nav__item--active" %} + {% endif %} + {% if nav_item.pages %} + {% if page in nav_item.pages %} + {% set nav_item = page %} + {% endif %} + {% endif %} + {% if nav_item.children %} + {% set indexes = [] %} + {% if "navigation.indexes" in features %} + {% for nav_item in nav_item.children %} + {% if nav_item.is_index and not index is defined %} + {% set _ = indexes.append(nav_item) %} + {% endif %} + {% endfor %} + {% endif %} + {% set tabs = "navigation.tabs" in features %} + {% set sections = "navigation.sections" in features %} + {% if tabs and level == 1 or sections and tabs >= level - 1 %} + {% set class = class ~ " md-nav__item--section" %} + {% set is_section = true %} + {% elif not nav_item.active and "navigation.prune" in features %} + {% set class = class ~ " md-nav__item--pruned" %} + {% set is_pruned = true %} + {% endif %} +
  • + {% if not is_pruned %} + {% set checked = "checked" if nav_item.active %} + {% set is_expanded = "navigation.expand" in features %} + {% if is_expanded and not checked %} + {% set indeterminate = "md-toggle--indeterminate" %} + {% endif %} + + {% if not indexes %} + {% set tabindex = "0" if not is_section %} + + {% else %} + {% set index = indexes | first %} + {% set class = "md-nav__link--active" if index == page %} + + {% endif %} + + {% else %} + {{ render_pruned(nav_item) }} + {% endif %} +
  • + {% elif nav_item == page %} +
  • + {% set toc = page.toc %} + + {% set first = toc | first %} + {% if first and first.level == 1 %} + {% set toc = first.children %} + {% endif %} + {% if toc %} + + {% endif %} + + {{ render_content(nav_item) }} + + {% if toc %} + {% include "partials/toc.html" %} + {% endif %} +
  • + {% else %} +
  • + + {{ render_content(nav_item) }} + +
  • + {% endif %} +{% endmacro %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/nav.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/nav.html new file mode 100644 index 0000000000000000000000000000000000000000..a701dcd27448350a763bccb94d2ac5e2b513c3a9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/nav.html @@ -0,0 +1,30 @@ +{#- + This file was automatically generated - do not edit +-#} +{% import "partials/nav-item.html" as item with context %} +{% set class = "md-nav md-nav--primary" %} +{% if "navigation.tabs" in features %} + {% set class = class ~ " md-nav--lifted" %} +{% endif %} +{% if "toc.integrate" in features %} + {% set class = class ~ " md-nav--integrated" %} +{% endif %} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/pagination.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/pagination.html new file mode 100644 index 0000000000000000000000000000000000000000..1de2cd4ce524b584857e6a456f13495d6d31dec0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/pagination.html @@ -0,0 +1,20 @@ +{#- + This file was automatically generated - do not edit +-#} +{% import ".icons/material/chevron-double-left.svg" as icon_first %} +{% import ".icons/material/chevron-left.svg" as icon_previous %} +{% import ".icons/material/chevron-right.svg" as icon_next %} +{% import ".icons/material/chevron-double-right.svg" as icon_last %} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/palette.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/palette.html new file mode 100644 index 0000000000000000000000000000000000000000..512ea570b9fee2276b27d7100aac58be09ea0d0f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/palette.html @@ -0,0 +1,16 @@ +{#- + This file was automatically generated - do not edit +-#} +
    + {% for option in config.theme.palette %} + {% set scheme = option.scheme | d("default", true) %} + {% set primary = option.primary | d("indigo", true) %} + {% set accent = option.accent | d("indigo", true) %} + + {% if option.toggle %} + + {% endif %} + {% endfor %} +
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/post.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/post.html new file mode 100644 index 0000000000000000000000000000000000000000..08f3c8f1db7f944ed1522c6fe7a4d4d1c7330244 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/post.html @@ -0,0 +1,60 @@ +{#- + This file was automatically generated - do not edit +-#} +
    +
    + {% if post.authors %} + + {% endif %} + +
    +
    + {{ post.content }} + +
    +
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/progress.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/progress.html new file mode 100644 index 0000000000000000000000000000000000000000..457156bb11256887f6db9b0e54f7b8be0d25d9ba --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/progress.html @@ -0,0 +1,4 @@ +{#- + This file was automatically generated - do not edit +-#} +
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/search.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/search.html new file mode 100644 index 0000000000000000000000000000000000000000..4ad3b36fa1aeae1115bd085b5bd8c3739c987b4f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/search.html @@ -0,0 +1,42 @@ +{#- + This file was automatically generated - do not edit +-#} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/social.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/social.html new file mode 100644 index 0000000000000000000000000000000000000000..e59fdae6e7793ebad96ff5853a7ab470e03818e8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/social.html @@ -0,0 +1,19 @@ +{#- + This file was automatically generated - do not edit +-#} +
    + {% for social in config.extra.social %} + {% set rel = "noopener" %} + {% if "mastodon" in social.icon %} + {% set rel = rel ~ " me" %} + {% endif %} + {% set title = social.name %} + {% if not title and "//" in social.link %} + {% set _, url = social.link.split("//") %} + {% set title = url.split("/")[0] %} + {% endif %} + + {% include ".icons/" ~ social.icon ~ ".svg" %} + + {% endfor %} +
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/source-file.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/source-file.html new file mode 100644 index 0000000000000000000000000000000000000000..b98990191849b7633b3ad5fafbfcf611f6368d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/source-file.html @@ -0,0 +1,110 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro render_updated(date) %} + + + {% include ".icons/material/clock-edit-outline.svg" %} + + {{ date }} + +{% endmacro %} +{% macro render_created(date) %} + + + {% include ".icons/material/clock-plus-outline.svg" %} + + {{ date }} + +{% endmacro %} +{% macro render_authors(authors) %} + {% set git_authors = config.plugins.get("git-authors") %} + + + {% if authors | length == 1 %} + {% include ".icons/material/account.svg" %} + {% else %} + {% include ".icons/material/account-group.svg" %} + {% endif %} + + + +{% endmacro %} +{% macro render_committers_github(title) %} + + {% include ".icons/material/github.svg" %} + + {{ title }} +{% endmacro %} +{% macro render_committers_gitlab(title) %} + + {% include ".icons/material/gitlab.svg" %} + + {{ title }} +{% endmacro %} +{% macro render_committers(authors) %} + + {% if committers_source == "gitlab" %} + {{ render_committers_gitlab("GitLab") }} + {% else %} + {{ render_committers_github("GitHub") }} + {% endif %} + + +{% endmacro %} +{% if page.meta %} + {% if page.meta.git_revision_date_localized %} + {% set updated = page.meta.git_revision_date_localized %} + {% elif page.meta.revision_date %} + {% set updated = page.meta.revision_date %} + {% endif %} + {% if page.meta.git_creation_date_localized %} + {% set created = page.meta.git_creation_date_localized %} + {% endif %} +{% endif %} +{% if updated or created or git_info or committers %} + +{% endif %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/source.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/source.html new file mode 100644 index 0000000000000000000000000000000000000000..711ecaef21b8d6da29d04658f20aa79dff4e37c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/source.html @@ -0,0 +1,12 @@ +{#- + This file was automatically generated - do not edit +-#} + +
    + {% set icon = config.theme.icon.repo or "fontawesome/brands/git-alt" %} + {% include ".icons/" ~ icon ~ ".svg" %} +
    +
    + {{ config.repo_name }} +
    +
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tabs-item.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tabs-item.html new file mode 100644 index 0000000000000000000000000000000000000000..0e80035c9ed4cc8fb76c9bbf84af3713aa13d100 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tabs-item.html @@ -0,0 +1,35 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro render_content(nav_item, ref = nav_item) %} + {% if nav_item == ref or "navigation.indexes" in features %} + {% if nav_item.is_index and nav_item.meta.icon %} + {% include ".icons/" ~ nav_item.meta.icon ~ ".svg" %} + {% endif %} + {% endif %} + {{ ref.title }} +{% endmacro %} +{% macro render(nav_item, ref = nav_item) %} + {% set class = "md-tabs__item" %} + {% if ref.active %} + {% set class = class ~ " md-tabs__item--active" %} + {% endif %} + {% if nav_item.children %} + {% set first = nav_item.children | first %} + {% if first.children %} + {{ render(first, ref) }} + {% else %} +
  • + + {{ render_content(first, ref) }} + +
  • + {% endif %} + {% else %} +
  • + + {{ render_content(nav_item) }} + +
  • + {% endif %} +{% endmacro %} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tabs.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tabs.html new file mode 100644 index 0000000000000000000000000000000000000000..04cb0c9c702ed19780eb308d10c58c8ed122897d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tabs.html @@ -0,0 +1,13 @@ +{#- + This file was automatically generated - do not edit +-#} +{% import "partials/tabs-item.html" as item with context %} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tags.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tags.html new file mode 100644 index 0000000000000000000000000000000000000000..128e95954a66a0cf4b9aee229e3f4d9b96bb99c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/tags.html @@ -0,0 +1,26 @@ +{#- + This file was automatically generated - do not edit +-#} +{% if page.meta and page.meta.hide %} + {% set hidden = "hidden" if "tags" in page.meta.hide %} +{% endif %} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/toc-item.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/toc-item.html new file mode 100644 index 0000000000000000000000000000000000000000..f505153f59ecb694c5be414fb25f7dcd96227e4c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/toc-item.html @@ -0,0 +1,19 @@ +{#- + This file was automatically generated - do not edit +-#} +
  • + + + {{ toc_item.title }} + + + {% if toc_item.children %} + + {% endif %} +
  • diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/toc.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/toc.html new file mode 100644 index 0000000000000000000000000000000000000000..aeeb3acbd6298336dea9a11f61b41a9a49825c7b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/toc.html @@ -0,0 +1,25 @@ +{#- + This file was automatically generated - do not edit +-#} +{% set title = lang.t("toc") %} +{% if config.mdx_configs.toc and config.mdx_configs.toc.title %} + {% set title = config.mdx_configs.toc.title %} +{% endif %} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/top.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/top.html new file mode 100644 index 0000000000000000000000000000000000000000..95da428b43c6f2236621e7d93c4c98e8856e4807 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/partials/top.html @@ -0,0 +1,8 @@ +{#- + This file was automatically generated - do not edit +-#} + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/redirect.html b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/redirect.html new file mode 100644 index 0000000000000000000000000000000000000000..97b6ef00cf608d55be3fa33fe69b0a8215bde639 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/templates/redirect.html @@ -0,0 +1,16 @@ +{#- + This file was automatically generated - do not edit +-#} + + + + + + {{ config.site_name }} + + + + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/licenses/LICENSE b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..7bb507395f28850a9b99d7f50c0deb356111960a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/licenses/LICENSE @@ -0,0 +1,26 @@ +Copyright © 2014-present, Tom Christie. All rights reserved. + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the following +conditions are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/babel_stub.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/babel_stub.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8ac9e665177b77af958182917e88382746cda00c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/babel_stub.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/cache.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/cache.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3465d392a673c4444c9f7cae4a81ed7f64a4fc76 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/cache.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/filters.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/filters.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e55e310f249556c878064601507eb1bb858b4835 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/filters.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/meta.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/meta.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..607618eb6924386c35814323535e72f0f7438bf7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/meta.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/templates.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/templates.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..98f17dde44cbfa74a297bf8996cbdcbf6171c142 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/templates.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/yaml.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/yaml.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4e7eaa5ae9f238ae7dce540730e6a73a0d766806 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/utils/__pycache__/yaml.cpython-312.pyc differ