Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 3,996 for get3 (0.02 sec)

  1. docs/tr/docs/tutorial/first-steps.md

    Aşağıdaki, bizim **yol operasyonu fonksiyonumuzdur**:
    
    * **yol**: `/`
    * **operasyon**: `get`
    * **fonksiyon**: "dekoratör"ün (`@app.get("/")`'in) altındaki fonksiyondur.
    
    {* ../../docs_src/first_steps/tutorial001.py hl[7] *}
    
    Bu bir Python fonksiyonudur.
    
    Bu fonksiyon bir `GET` işlemi kullanılarak "`/`" bağlantısına bir istek geldiğinde **FastAPI** tarafından çağrılır.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. tests/test_schema_compat_pydantic_v2.py

    def test_openapi_schema(client: TestClient):
        response = client.get("openapi.json")
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/users": {
                        "get": {
                            "summary": "Get User",
                            "operationId": "get_user_users_get",
                            "responses": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            this.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
        }
    
        /**
         * Gets the information level that was queried.
         *
         * @return the informationLevel
         */
        public int getInformationLevel() {
            return this.informationLevel;
        }
    
        /**
         * Gets the file system information from the response.
         *
         * @return the filesystem info
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_additional_responses/test_tutorial003.py

    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.get("/items/foo")
        assert response.status_code == 200, response.text
        assert response.json() == {"id": "foo", "value": "there goes my hero"}
    
    
    def test_path_operation_not_found():
        response = client.get("/items/bar")
        assert response.status_code == 404, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. tests/test_arbitrary_types.py

            custom_field: FakeNumpyArrayPydantic
    
        app = FastAPI()
    
        @app.get("/")
        def test() -> MyModel:
            return MyModel(custom_field=FakeNumpyArray())
    
        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/")
        assert response.json() == {"custom_field": [1.0, 2.0, 3.0]}
    
    
    def test_typeadapter():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

    from docs_src.behind_a_proxy.tutorial003_py39 import app
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == snapshot(
            {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial001_02_an_py39.py

    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: CommonsDep):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 466 bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial001_py39.py

    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 442 bytes
    - Viewed (0)
  9. tests/test_router_prefix_with_template.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("/users/{id}")
    def read_user(segment: str, id: str):
        return {"segment": segment, "id": id}
    
    
    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 484 bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java

     */
    @Experimental
    public interface SettingsBuilderResult extends Result<SettingsBuilderRequest> {
    
        /**
         * Gets the assembled settings.
         *
         * @return the assembled settings, never {@code null}
         */
        @Nonnull
        Settings getEffectiveSettings();
    
        /**
         * Gets the problems that were encountered during the settings building. Note that only problems of severity
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top