Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 3,776 for nope (0.02 sec)

  1. tests/test_regex_deprecated_params.py

    
    def get_client():
        app = FastAPI()
        with pytest.warns(DeprecationWarning):
    
            @app.get("/items/")
            async def read_items(
                q: Annotated[str | None, Query(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

            addBooleanOption("Xdoclint:all,-missing,-reference", true)
    
            // Add support for custom tags
            tags("apiNote:a:API Note:", "implSpec:a:Implementation Requirements:", "implNote:a:Implementation Note:")
    
            // Process all source files for valid javadoc, not just public ones
            addBooleanOption("private", true)
            addBooleanOption("package", true)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * {@code SerializableTester} calls with other, GWT-compatible tests.
       *
       * <p>Note that the specified object may not be known by the compiler to be a {@link
       * java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might
       * be declared as a {@code List}.
       *
       * <p>Note also that serialization is not in general required to return an object that is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/alerts.md

            "instance": "localhost:9000",
            "job": "minio-job-node",
            "pool": "0",
            "server": "127.0.0.1:9000",
            "set": "0",
            "severity": "critical"
          },
          "annotations": {
            "description": "MinIO instance 127.0.0.1:9000 of job minio-job has tolerance <=0 for more than 5 minutes.",
            "summary": "Instance 127.0.0.1:9000 unable to tolerate node failures"
          },
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 28 20:53:59 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/mips.s

    	//	}
    	NOP	F2
    
    	//	LNOP ',' rreg // asm doesn't support the leading comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &$3);
    	//	}
    	NOP	R2
    
    	//	LNOP ',' freg // asm doesn't support the leading comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &$3);
    	//	}
    	NOP	F2
    
    	//	LNOP imm
    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    	//	}
    	NOP	$4
    
    	//
    	// special
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/events/v1beta1/generated.proto

      // +optional
      optional k8s.io.api.core.v1.ObjectReference related = 9;
    
      // note is a human-readable description of the status of this operation.
      // Maximal length of the note is 1kB, but libraries should be prepared to
      // handle values up to 64kB.
      // +optional
      optional string note = 10;
    
      // type is the type of this event (Normal, Warning), new types could be added in the future.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. docs_src/background_tasks/tutorial002_py310.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: 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: Fri Jan 07 14:11:31 UTC 2022
    - 643 bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/separate-openapi-schemas.md

    </div>
    
    Isso significa que ele **sempre terá um valor**, só que às vezes o valor pode ser `None` (ou `null` em termos de JSON).
    
    Isso quer dizer que, os clientes que usam sua API não precisam verificar se o valor existe ou não, eles podem **assumir que o campo sempre estará lá**, mas que em alguns casos terá o valor padrão de `None`.
    
    A maneira de descrever isso no OpenAPI é marcar esse campo como **obrigatório**, porque ele sempre estará lá.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:52:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py

        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"X-Token values": None}),
            ("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}),
            # TODO: fix this, is it a bug?
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy

    import javax.xml.transform.stream.StreamResult
    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class XIncludeAwareXmlProvider {
    
        Document root
    
        Element parse(File sourceFile) {
            root = parseSourceFile(sourceFile)
            root.documentElement
        }
    
        Node emptyDoc() {
            root = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument()
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top