Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3811 - 3820 of 4,771 for Same (0.07 sec)

  1. docs/ru/docs/advanced/templates.md

    {* ../../docs_src/templates/tutorial001_py39.py hl[4,11,15:18] *}
    
    /// note | Примечание
    
    До FastAPI 0.108.0, Starlette 0.29.0, `name` был первым параметром.
    
    Также раньше, в предыдущих версиях, объект `request` передавался как часть пар ключ-значение в контексте для Jinja2.
    
    ///
    
    /// tip | Совет
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. cmd/common-main_test.go

    			if err != nil {
    				t.Error(err)
    			}
    			tmpfile.WriteString(testCase.content)
    			tmpfile.Sync()
    			tmpfile.Close()
    
    			value, err := readFromSecret(tmpfile.Name())
    			if err != nil && !testCase.expectedErr {
    				t.Error(err)
    			}
    			if err == nil && testCase.expectedErr {
    				t.Error(errors.New("expected error, found success"))
    			}
    			if value != testCase.expectedValue {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (2)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    configureTestFixturesForCrossVersionTests()
    
    fun configureTestFixturesForCrossVersionTests() {
        // do not attempt to find projects when the plugin is applied just to generate accessors
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
            dependencies {
                "crossVersionTestImplementation"(testFixtures(project(":tooling-api")))
            }
        }
    }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Sep 05 02:31:24 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                    }
                }
            }
        }
    
        /**
         * Parses a GCS path into bucket name and object path components.
         * @param path the GCS path to parse (format: bucket/object/path)
         * @return an array containing the bucket name and object path
         * @throws CrawlingAccessException if the path format is invalid
         */
        protected String[] parsePath(final String path) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. fastapi/security/http.py

        ```
        """
    
        def __init__(
            self,
            *,
            scheme_name: Annotated[
                Optional[str],
                Doc(
                    """
                    Security scheme name.
    
                    It will be included in the generated OpenAPI (e.g. visible at `/docs`).
                    """
                ),
            ] = None,
            realm: Annotated[
                Optional[str],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. scripts/playwright/cookie_param_models/image01.py

        browser = playwright.chromium.launch(headless=False)
        context = browser.new_context()
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("link", name="/items/").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/cookie-param-models/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_extending_openapi/test_tutorial001.py

    from docs_src.extending_openapi.tutorial001_py39 import app
    
    client = TestClient(app)
    
    
    def test():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [{"name": "Foo"}]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. tests/test_schema_ref_pydantic_v2.py

    from typing import Any
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, ConfigDict, Field
    
    
    @pytest.fixture(name="client")
    def get_client():
        app = FastAPI()
    
        class ModelWithRef(BaseModel):
            ref: str = Field(validation_alias="$ref", serialization_alias="$ref")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. docs/resiliency/resiliency-verify-healing-script.sh

    DIR=$(echo $1 | jq -r '.args.dir')
    DEEP=$(echo $1 | jq -r '.args.deep')
    WANT=$(echo $1 | jq 'del(.args)') # ... and remove args from wanted result
    
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    JQUERY='select(.name=="'"${BUCKET}"'/'"${DIR}"'/'"${FILE}"'") | {"before":{"color": .before.color, "missing": .before.missing, "corrupted": .before.corrupted},"after":{"color": .after.color, "missing": .after.missing, "corrupted": .after.corrupted}}'
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 996 bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy

     */
    class AnonymousClassesFilter implements ClassFilter {
    
        private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$')
    
        @Override
        boolean matches(CtClass ctClass) {
            return ctClass.name.matches(PATTERN)
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
Back to top