Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,278 for Tool (0.03 sec)

  1. tests/test_openapi_separate_input_output_schemas.py

        description: Optional[str] = None
        sub: Optional[SubItem] = None
        if PYDANTIC_V2:
            model_config = {"json_schema_serialization_defaults_required": True}
    
    
    def get_app_client(separate_input_output_schemas: bool = True) -> TestClient:
        app = FastAPI(separate_input_output_schemas=separate_input_output_schemas)
    
        @app.post("/items/", responses={402: {"model": Item}})
        def create_item(item: Item) -> Item:
            return item
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. docs/nl/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/batch/v1/generated.proto

      optional string concurrencyPolicy = 3;
    
      // This flag tells the controller to suspend subsequent executions, it does
      // not apply to already started executions.  Defaults to false.
      // +optional
      optional bool suspend = 4;
    
      // Specifies the job that will be created when executing a CronJob.
      optional JobTemplateSpec jobTemplate = 5;
    
      // The number of successful finished jobs to retain. Value must be non-negative integer.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. cmd/config-current.go

    	SubSys          string         `json:"subSys"`
    	Description     string         `json:"description"`
    	MultipleTargets bool           `json:"multipleTargets"`
    	KeysHelp        config.HelpKVS `json:"keysHelp"`
    }
    
    // GetHelp - returns help for sub-sys, a key for a sub-system or all the help.
    func GetHelp(subSys, key string, envOnly bool) (Help, error) {
    	if len(subSys) == 0 {
    		return Help{KeysHelp: config.HelpSubSysMap[subSys]}, nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body.md

    The function parameters will be recognized as follows:
    
    * If the parameter is also declared in the **path**, it will be used as a path parameter.
    * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter.
    * If the parameter is declared to be of the type of a **Pydantic model**, it will be interpreted as a request **body**.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/body.md

    Les paramètres de la fonction seront reconnus comme tel :
    
    * Si le paramètre est aussi déclaré dans le **chemin**, il sera utilisé comme paramètre de chemin.
    * Si le paramètre est d'un **type singulier** (comme `int`, `float`, `str`, `bool`, etc.), il sera interprété comme un paramètre de **requête**.
    * Si le paramètre est déclaré comme ayant pour type un **modèle Pydantic**, il sera interprété comme faisant partie du **corps** de la requête.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental_test.cc

    #endif  // !defined(TENSORFLOW_NO_SHARED_OBJECTS)
    #endif  // !defined(PLATFORM_WINDOWS)
    }
    
    void DefineFunction(const char* name, TF_Function** func,
                        const char* description = nullptr,
                        bool append_hash = false) {
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph(
          TF_NewGraph(), TF_DeleteGraph);
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> s(TF_NewStatus(),
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    	rootCmd.AddCommand(validateCmd)
    
    	rootCmd.AddCommand(optionsCommand(rootCmd))
    
    	// BFS applies the flag error function to all subcommands
    	seenCommands := make(map[*cobra.Command]bool)
    	var commandStack []*cobra.Command
    
    	commandStack = append(commandStack, rootCmd)
    
    	for len(commandStack) > 0 {
    		n := len(commandStack) - 1
    		curCmd := commandStack[n]
    		commandStack = commandStack[:n]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsScheduledJobCQ.java

        }
    
        public void bool(BoolCall<ScheduledJobCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<ScheduledJobCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            ScheduledJobCQ mustQuery = new ScheduledJobCQ();
            ScheduledJobCQ shouldQuery = new ScheduledJobCQ();
            ScheduledJobCQ mustNotQuery = new ScheduledJobCQ();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 98.1K bytes
    - Viewed (0)
  10. docs/ko/docs/python-types.md

    # 파이썬 타입 소개
    
    파이썬은 선택적으로 "타입 힌트(type hints)"를 지원합니다.
    
    이러한 **타입 힌트**들은 변수의 <abbr title="예를 들면: str, int, float, bool">타입</abbr>을 선언할 수 있게 해주는 특수한 구문입니다.
    
    변수의 타입을 지정하면 에디터와 툴이 더 많은 도움을 줄 수 있게 됩니다.
    
    이 문서는 파이썬 타입 힌트에 대한 **빠른 자습서 / 내용환기** 수준의 문서입니다. 여기서는 **FastAPI**를 쓰기 위한 최소한의 내용만을 다룹니다.
    
    **FastAPI**는 타입 힌트에 기반을 두고 있으며, 이는 많은 장점과 이익이 있습니다.
    
    비록 **FastAPI**를 쓰지 않는다고 하더라도, 조금이라도 알아두면 도움이 될 것입니다.
    
    /// note | "참고"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top