Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 880 for fbool (0.02 seconds)

  1. cmd/metrics-v3-handler.go

    		for _, metric := range metrics {
    			b.WriteString(metric.TableRow())
    		}
    		w.Write([]byte(b.String()))
    	})
    }
    
    func (h *metricsV3Server) handle(path string, isListingRequest bool, buckets []string) http.Handler {
    	var notFoundHandler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "Metrics Resource Not found", http.StatusNotFound)
    	})
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. docs/zh/docs/python-types.md

    # Python 类型提示简介 { #python-types-intro }
    
    Python 支持可选的“类型提示”(也叫“类型注解”)。
    
    这些“类型提示”或注解是一种特殊语法,用来声明变量的<dfn title="例如:str、int、float、bool">类型</dfn>。
    
    通过为变量声明类型,编辑器和工具可以为你提供更好的支持。
    
    这只是一个关于 Python 类型提示的快速入门/复习。它只涵盖与 **FastAPI** 一起使用所需的最少部分...实际上非常少。
    
    **FastAPI** 完全基于这些类型提示构建,它们带来了许多优势和好处。
    
    但即使你从不使用 **FastAPI**,了解一些类型提示也会让你受益。
    
    /// note | 注意
    
    如果你已经是 Python 专家,并且对类型提示了如指掌,可以跳到下一章。
    
    ///
    
    ## 动机 { #motivation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. misc/go_android_exec/main.go

    // and indicates whether it is
    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func pkgPath() (importPath string, isStd bool, modPath, modDir string, err error) {
    	errorf := func(format string, args ...any) (string, bool, string, string, error) {
    		return "", false, "", "", fmt.Errorf(format, args...)
    	}
    	goTool, err := goTool()
    	if err != nil {
    		return errorf("%w", err)
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsLabelTypeCQ.java

        }
    
        public void bool(BoolCall<LabelTypeCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<LabelTypeCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            LabelTypeCQ mustQuery = new LabelTypeCQ();
            LabelTypeCQ shouldQuery = new LabelTypeCQ();
            LabelTypeCQ mustNotQuery = new LabelTypeCQ();
            LabelTypeCQ filterQuery = new LabelTypeCQ();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 87.8K bytes
    - Click Count (0)
  5. README.md

    ```Python hl_lines="2  7-10 23-25"
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/index.md

    ```Python hl_lines="2  7-10 23-25"
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  7. docs/ko/docs/index.md

    ```Python hl_lines="2  7-10 23-25"
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  8. tensorflow/c/c_api_function_test.cc

                  const std::vector<TF_Operation*>& inputs,
                  const std::vector<TF_Operation*>& outputs,
                  const std::vector<std::string>& output_names,
                  bool expect_failure = false) {
        DefineT(num_opers, opers, ToOutput(inputs), ToOutput(outputs), output_names,
                expect_failure);
      }
    
      // Caller must delete[] the returned value
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  9. internal/logger/logrotate.go

    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/body.md

    Параметры функции будут распознаны следующим образом:
    
    * Если параметр также объявлен в **пути**, он будет использоваться как path-параметр.
    * Если параметр имеет **скалярный тип** (например, `int`, `float`, `str`, `bool` и т.п.), он будет интерпретирован как параметр **запроса**.
    * Если параметр объявлен как тип **модели Pydantic**, он будет интерпретирован как **тело** запроса.
    
    /// note | Заметка
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top