Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for require (0.2 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      ) : SerialTask {
        override fun start() {
          taskRunner.assertThreadHoldsLock()
          require(currentTask == this)
          activeThreads++
    
          tasksExecutor.execute {
            taskRunner.assertThreadDoesntHoldLock()
            require(currentTask == this)
            try {
              runnable.run()
              require(currentTask == this) { "unexpected current task: $currentTask" }
            } finally {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. cni/README.md

    ## Privileges required
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. docs/en/docs/features.md

    * Even dependencies can have dependencies, creating a hierarchy or **"graph" of dependencies**.
    * All **automatically handled** by the framework.
    * All the dependencies can require data from requests and **augment the path operation** constraints and automatic documentation.
    * **Automatic validation** even for *path operation* parameters defined in dependencies.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    functions with `Annotated` would **not be affected** at all.
    
    If you call those functions in **other places in your code**, the actual **default values** will be kept, your editor will help you notice missing **required arguments**, Python will require you to pass required arguments at **runtime**, you will be able to **use the same functions** for different things and with different libraries (e.g. **Typer** will soon support `Annotated` too, then you could use the same function for an API...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                in diagnosticWithResolvedCallsAtPosition1 -> {
                    require(diagnostic is DiagnosticWithParameters1<*, *>)
                    @Suppress("UNCHECKED_CAST")
                    diagnostic.a as Collection<ResolvedCall<*>>
                }
                in diagnosticWithResolvedCallsAtPosition2 -> {
                    require(diagnostic is DiagnosticWithParameters2<*, *, *>)
                    @Suppress("UNCHECKED_CAST")
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  6. licenses/cloud.google.com/go/auth/oauth2adapt/LICENSE

          names, trademarks, service marks, or product names of the Licensor,
          except as required for reasonable and customary use in describing the
          origin of the Work and reproducing the content of the NOTICE file.
    
       7. Disclaimer of Warranty. Unless required by applicable law or
          agreed to in writing, Licensor provides the Work (and each
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/remote-repo/org/apache/maven/plugins/maven-jar-plugin/0.1/maven-jar-plugin-0.1.pom

    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
      http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. pyproject.toml

    [build-system]
    requires = ["pdm-backend"]
    build-backend = "pdm.backend"
    
    [project]
    name = "fastapi"
    dynamic = ["version"]
    description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"
    readme = "README.md"
    requires-python = ">=3.8"
    authors = [
        { name = "Sebastián Ramírez", email = "******@****.***" },
    ]
    classifiers = [
        "Intended Audience :: Information Technology",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/settings.md

        {!> ../../../docs_src/settings/app02/main.py!}
        ```
    
    !!! tip
        We'll discuss the `@lru_cache` in a bit.
    
        For now you can assume `get_settings()` is a normal function.
    
    And then we can require it from the *path operation function* as a dependency and use it anywhere we need it.
    
    === "Python 3.9+"
    
        ```Python hl_lines="17  19-21"
        {!> ../../../docs_src/settings/app02_an_py39/main.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  10. README.md

        * As the `q` parameter is declared with `= None`, it is optional.
        * Without the `None` it would be required (as is the body in the case with `PUT`).
    * For `PUT` requests to `/items/{item_id}`, Read the body as JSON:
        * Check that it has a required attribute `name` that should be a `str`.
        * Check that it has a required attribute `price` that has to be a `float`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top