Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,078 for nine (0.02 sec)

  1. docs_src/background_tasks/tutorial002_an.py

    app = FastAPI()
    
    
    def write_log(message: str):
        with open("log.txt", mode="a") as log:
            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 725 bytes
    - Viewed (0)
  2. docs_src/extra_models/tutorial002.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserBase(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(UserBase):
        password: str
    
    
    class UserOut(UserBase):
        pass
    
    
    class UserInDB(UserBase):
        hashed_password: str
    
    
    def fake_password_hasher(raw_password: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 824 bytes
    - Viewed (0)
  3. docs_src/response_model/tutorial005_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float = 10.5
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The Bar fighters", "price": 62, "tax": 20.2},
        "baz": {
            "name": "Baz",
            "description": "There goes my baz",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 816 bytes
    - Viewed (0)
  4. android-test/README.md

    $ echo "no" | avdmanager --verbose create avd --force --name "pixel5" --device "pixel" --package "system-images;android-29;google_apis;x86" --tag "google_apis" --abi "x86"
    ```
    
    2. Run an Emulator using Android Studio or from command line.
    
    ```
    $ emulator -no-window -no-snapshot-load @pixel5
    ```
    
    2. Turn on logs with logcat
    
    ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * Instances of this interface retrieve and store data for the --resume / -r feature. This data is used to ensure newer
     * builds of the same project, that have the -r command-line flag, skip successfully built projects during earlier
     * invocations of Maven.
     */
    public interface BuildResumptionDataRepository {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    			// Do not care If-Modified-Since, Because:
    			// 1. If If-Modified-Since condition evaluates to true.
    			//  If both of the If-None-Match and If-Modified-Since headers are present in the request as follows:
    			// 	If-None-Match condition evaluates to false , and;
    			//  If-Modified-Since condition evaluates to true ;
    			// 	Then Amazon S3 returns the 304 Not Modified response code.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSourceTester.java

                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return list;
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/de/stopwords.txt

    dieselben
    dasselbe
    dazu
    dein
    deine
    deinem
    deinen
    deiner
    deines
    denn
    derer
    dessen
    dich
    dir
    du
    dies
    diese
    diesem
    diesen
    dieser
    dieses
    doch
    dort
    durch
    ein
    eine
    einem
    einen
    einer
    eines
    einig
    einige
    einigem
    einigen
    einiger
    einiges
    einmal
    er
    ihn
    ihm
    es
    etwas
    euer
    eure
    eurem
    euren
    eurer
    eures
    für
    gegen
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/site/apt/index.apt.vm

       per project settings can be defined by files in <<<.mvn/>>> directory:
    
       * <<<.mvn/jvm.config>>> containing jvm options,
    
       * <<<.mvn/maven.config>>> containing Maven command-line parameter,
    
       * <<<.mvn/extensions.xml>>> containing {{{./core-extensions.html}a list of extensions}},
    
     * since 3.5.0, output is colorized by default, with color disabled in batch mode: see
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("B")
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
        assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v1")
        assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v1")
        assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v2")
      }
    
      @Test
      fun combinedCacheHeadersCanBeNonAscii() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top