Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 2,890 for gone (0.02 seconds)

  1. docs_src/body_multiple_params/tutorial003_py310.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User, importance: int = Body()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 504 bytes
    - Click Count (0)
  2. docs_src/security/tutorial003_an_py310.py

        return "fakehashed" + password
    
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

            // Default test task should run only unit tests
            maybeConfigure(project.getTasks(), "test", Test.class, task -> task.include("**/*Tests.class"));
    
            // none of this stuff is applicable to the `:buildSrc` project tests
            File heapdumpDir = new File(project.getBuildDir(), "heapdump");
    
            project.getTasks().withType(Test.class).configureEach(test -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/advanced-python-types.md

    例如,你可以宣告某個值可以是 `str` 或 `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    在 `typing` 中也有用 `Optional` 宣告某個值可以是 `None` 的速記法。
    
    以下是我個人(非常主觀)的建議:
    
    * 🚨 避免使用 `Optional[SomeType]`
    * 改為 ✨ 使用 `Union[SomeType, None]` ✨。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. docs_src/extra_models/tutorial001_py310.py

        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserInDB(BaseModel):
        username: str
        hashed_password: str
        email: EmailStr
        full_name: str | None = None
    
    
    def fake_password_hasher(raw_password: str):
        return "supersecret" + raw_password
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 905 bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/bin/mvn.cmd

    set FILE_ARG=
    :arg_loop
    if "%~1" == "-f" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    if "%~1" == "--file" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    @REM If none of the above, skip the argument
    shift
    if not "%~1" == "" (
      goto arg_loop
    ) else (
      goto findBaseDir
    )
    
    :process_file_arg
    if "%FILE_ARG%" == "" (
      goto findBaseDir
    )
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

         * build.gradle file because that is appropriate for Elasticsearch's docs
         * directory.
         */
        @InputFiles
        ConfigurableFileTree docs
    
        /**
         * Substitutions done on every snippet's contents.
         */
        @Input
        Map<String, String> defaultSubstitutions = [:]
    
        @TaskAction
        void executeTask() {
            /*
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

                    return "auto";
                }
    
                @Override
                public String getSsoType() {
                    return "none";
                }
            });
            final OsddHelper osddHelper = new OsddHelper();
            osddHelper.setOsddPath("osdd/none.xml");
            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
        }
    
        @Test
        public void test_init_disabled() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

        ) {
            val failures = projects
                .filter { (path, _) -> !computedTargetRuntimes.containsKey(path) }
                .filter { (path, _) -> projects.none { (_, value) -> value.details.dependencies.contains(path) } }
                .map { (path, info) -> "Project $path: ${info.buildFile.asClickableFileUrl()}" }
    
            if (failures.isNotEmpty()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. docs/ru/docs/_llm-test.md

    //// tab | Тест
    
    Вот некоторые элементы, обёрнутые в HTML-элементы "abbr" (часть выдумана):
    
    ### abbr даёт полную расшифровку { #the-abbr-gives-a-full-phrase }
    
    * <abbr title="Getting Things Done - Как привести дела в порядок">GTD</abbr>
    * <abbr title="less than - меньше чем"><code>lt</code></abbr>
    * <abbr title="XML Web Token - XML веб‑токен">XWT</abbr>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top