Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 637 for Schema_ (0.18 sec)

  1. docs_src/sql_databases_peewee/sql_app/crud.py

    from . import models, schemas
    
    
    def get_user(user_id: int):
        return models.User.filter(models.User.id == user_id).first()
    
    
    def get_user_by_email(email: str):
        return models.User.filter(models.User.email == email).first()
    
    
    def get_users(skip: int = 0, limit: int = 100):
        return list(models.User.select().offset(skip).limit(limit))
    
    
    def create_user(user: schemas.UserCreate):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 843 bytes
    - Viewed (0)
  2. docs/vi/docs/tutorial/first-steps.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ### OpenAPI
    
    **FastAPI** sinh một "schema" với tất cả API của bạn sử dụng tiêu chuẩn **OpenAPI** cho định nghĩa các API.
    
    #### "Schema"
    
    Một "schema" là một định nghĩa hoặc mô tả thứ gì đó. Không phải code triển khai của nó, nhưng chỉ là một bản mô tả trừu tượng.
    
    #### API "schema"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py

                        "operationId": "create_item_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {
                                        "required": ["name", "price"],
                                        "type": "object",
                                        "properties": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. tests/test_additional_responses_bad.py

                        # this is how one would imagine the openapi schema to be
                        # but since the key is not valid, openapi.utils.get_openapi will raise ValueError
                        "hello": {"description": "Not a valid additional response"},
                        "200": {
                            "description": "Successful Response",
                            "content": {"application/json": {"schema": {}}},
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. docs_src/graphql/tutorial001.py

    class User:
        name: str
        age: int
    
    
    @strawberry.type
    class Query:
        @strawberry.field
        def user(self) -> User:
            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQL(schema)
    
    app = FastAPI()
    app.add_route("/graphql", graphql_app)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 03 18:00:28 UTC 2021
    - 446 bytes
    - Viewed (0)
  6. statement.go

    			}
    			writer.WriteByte('.')
    		}
    
    		if v.Name == clause.PrimaryKey {
    			if stmt.Schema == nil {
    				stmt.DB.AddError(ErrModelValueRequired)
    			} else if stmt.Schema.PrioritizedPrimaryField != nil {
    				write(v.Raw, stmt.Schema.PrioritizedPrimaryField.DBName)
    			} else if len(stmt.Schema.DBNames) > 0 {
    				write(v.Raw, stmt.Schema.DBNames[0])
    			} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/behind-a-proxy.md

    Então, o frontend (que roda no navegador) tentaria acessar `/openapi.json` e não conseguiria obter o OpenAPI schema.
    
    Como temos um proxy com um prefixo de caminho de `/api/v1` para nossa aplicação, o frontend precisa buscar o OpenAPI schema em `/api/v1/openapi.json`.
    
    ```mermaid
    graph LR
    
    browser("Browser")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. dbflute_fess/playsql/_readme.txt

    Directory for ReplaceSchema task
    
    replace-schema-*.sql:
    DDL statements for creation of your schema.
    You should write your own DDL statements in this file.
    (A SQL separator is semicolon ";")
    
    take-finally-*.sql:
    SQL statements for check loaded data (or DDL after data loading)
    You should write your own SQL statements in this file.
    (basically same specifications as replace-schema.sql)
    
    The "data" directory is for data loading like this:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_extending_openapi/test_tutorial001.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {
                "title": "Custom title",
                "summary": "This is a very custom OpenAPI schema",
                "description": "Here's a longer description of the custom **OpenAPI** schema",
                "version": "2.5.0",
                "x-logo": {
                    "url": "https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png"
                },
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sub_applications/test_tutorial001.py

            "/app": {
                "get": {
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {"application/json": {"schema": {}}},
                        }
                    },
                    "summary": "Read Main",
                    "operationId": "read_main_app_get",
                }
            }
        },
    }
    openapi_schema_sub = {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top