Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 2,104 for none (0.03 sec)

  1. docs_src/response_model/tutorial006.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[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",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 848 bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/workload.go

    		for _, ip := range workload.WorkloadIPs {
    			if strings.EqualFold(ip, wf.Address) {
    				find = true
    				break
    			}
    		}
    		if !find {
    			return false
    		}
    	}
    	if wf.Node != "" && !strings.EqualFold(workload.Node, wf.Node) {
    		return false
    	}
    	return true
    }
    
    // PrintWorkloadSummary prints a summary of the relevant listeners in the config dump to the ConfigWriter stdout
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    .name("defaultDispatcher")
                    .message("Which dispatcher you want to use as default?");
            listPromptBuilder
                    .newItem()
                    .name(NONE)
                    .text("None (disable MavenSecDispatcher)")
                    .add();
            for (DispatcherMeta meta : secDispatcher.availableDispatchers()) {
                if (!meta.isHidden()) {
                    listPromptBuilder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/metadata.md

    ```
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ’š โŽ ๐Ÿ—„ ๐Ÿ”— ๐Ÿ• ๐Ÿ‘† ๐Ÿ’ช โš’ `openapi_url=None`, ๐Ÿ‘ˆ ๐Ÿ”œ โŽ ๐Ÿงพ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”ข ๐Ÿ‘ˆ โš™๏ธ โšซ๏ธ.
    
    ## ๐Ÿฉบ ๐Ÿ“›
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”— 2๏ธโƒฃ ๐Ÿงพ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”ข ๐Ÿ”Œ:
    
    * **๐Ÿฆ ๐ŸŽš**: ๐Ÿฆ `/docs`.
        * ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿšฎ ๐Ÿ“› โฎ๏ธ ๐Ÿ”ข `docs_url`.
        * ๐Ÿ‘† ๐Ÿ’ช โŽ โšซ๏ธ โš’ `docs_url=None`.
    * **๐Ÿ“„**: ๐Ÿฆ `/redoc`.
        * ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿšฎ ๐Ÿ“› โฎ๏ธ ๐Ÿ”ข `redoc_url`.
        * ๐Ÿ‘† ๐Ÿ’ช โŽ โšซ๏ธ โš’ `redoc_url=None`.
    
    ๐Ÿ–ผ, โš’ ๐Ÿฆ ๐ŸŽš ๐Ÿฆ `/documentation` & โŽ ๐Ÿ“„:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation
      // if the object being admitted is modified by other admission plugins after the initial webhook call.
      // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted.
      // Note:
      // * the number of additional invocations is not guaranteed to be exactly one.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

         */
        boolean contains(@Nonnull Version version);
    
        /**
         * Returns the upper boundary of this range, or {@code null} if none.
         */
        @Nullable
        Boundary getUpperBoundary();
    
        /**
         * Returns the lower boundary of this range, or {@code null} if none.
         */
        @Nullable
        Boundary getLowerBoundary();
    
        /**
         * Returns a string representation of this version range
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainsBuildingRequest {
    
        /**
         * Gets the global toolchains source.
         *
         * @return The global toolchains source or {@code null} if none.
         */
        Source getGlobalToolchainsSource();
    
        /**
         * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains
         * take precedence.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. docs_src/custom_docs_ui/tutorial002.py

    from fastapi import FastAPI
    from fastapi.openapi.docs import (
        get_redoc_html,
        get_swagger_ui_html,
        get_swagger_ui_oauth2_redirect_html,
    )
    from fastapi.staticfiles import StaticFiles
    
    app = FastAPI(docs_url=None, redoc_url=None)
    
    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    @app.get("/docs", include_in_schema=False)
    async def custom_swagger_ui_html():
        return get_swagger_ui_html(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dataclasses/test_tutorial001.py

        response = client.post("/items/", json={"name": "Foo", "price": 3})
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 3,
            "description": None,
            "tax": None,
        }
    
    
    def test_post_invalid_item():
        response = client.post("/items/", json={"name": "Foo", "price": "invalid price"})
        assert response.status_code == 422
        assert response.json() == IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

         * Gets the installation settings source.
         *
         * @return the installation settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationSettingsSource();
    
        /**
         * Gets the project settings source.
         *
         * @return the project settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getProjectSettingsSource();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top