Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,240 for unkown (0.14 sec)

  1. docs_src/dependency_testing/tutorial001_an.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    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: Annotated[dict, Depends(common_parameters)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/main/resources/fess_message_ru.properties

    errors.failed_to_change_password=Failed to change your password.
    errors.unknown_version_for_upgrade=Unknown version information.
    errors.failed_to_upgrade_from=Failed to upgrade from {0}.
    errors.failed_to_read_request_file=Failed to read request file: {0}
    errors.invalid_header_for_request_file=Invalid header: {0}
    
    errors.invalid_query_unknown=The given query has unknown condition.
    errors.invalid_query_parse_error=The given query is invalid.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri May 20 12:12:28 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  3. docs_src/body_updates/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1K bytes
    - Viewed (0)
  4. tests/test_response_model_as_return_annotation.py

    
    @app.get(
        "/response_model_union-no_annotation-return_model1",
        response_model=Union[User, Item],
    )
    def response_model_union_no_annotation_return_model1():
        return DBUser(name="John", surname="Doe", password_hash="secret")
    
    
    @app.get(
        "/response_model_union-no_annotation-return_model2",
        response_model=Union[User, Item],
    )
    def response_model_union_no_annotation_return_model2():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  5. docs_src/response_model/tutorial001.py

    from typing import Any, List, Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: List[str] = []
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=List[Item])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 562 bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                return convertTermRangeQuery(context, termRangeQuery, boost);
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        protected QueryBuilder convertTermRangeQuery(final QueryContext context, final TermRangeQuery termRangeQuery, final float boost) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. docs_src/path_operation_configuration/tutorial002.py

    from typing import Set, Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
    
    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 580 bytes
    - Viewed (0)
  8. docs_src/security/tutorial005_an_py39.py

    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: Union[str, None] = None
        scopes: List[str] = []
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryProcessor.java

                    return queryCommand.execute(context, query, boost);
                }
                throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                        "Unknown q: " + query.getClass() + " => " + query);
            };
        }
    
        public interface Filter {
            QueryBuilder execute(final QueryContext context, final Query query, final float boost, final FilterChain chain);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

                    TeamCityParallelTests::class.simpleName -> TeamCityParallelTests(methodJsonObject.getIntValue("numberOfBatches"))
                    else -> throw IllegalArgumentException("Unknown parallelization method")
                }
            }
        }
    }
    
    class FunctionalTest(
        model: CIBuildModel,
        id: String,
        name: String,
        description: String,
        val testCoverage: TestCoverage,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 06:14:43 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top