Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,355 for pool (0.04 sec)

  1. callbacks/callmethod.go

    package callbacks
    
    import (
    	"reflect"
    
    	"gorm.io/gorm"
    )
    
    func callMethod(db *gorm.DB, fc func(value interface{}, tx *gorm.DB) bool) {
    	tx := db.Session(&gorm.Session{NewDB: true})
    	if called := fc(db.Statement.ReflectValue.Interface(), tx); !called {
    		switch db.Statement.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			db.Statement.CurDestIndex = 0
    			for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 846 bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/ecds.go

    		err := config.GetEcdsFilter().UnmarshalTo(c)
    		if err != nil {
    			return nil, fmt.Errorf("failed to retrieve TypedExtensionConfig: %v", err)
    		}
    
    		ecds = append(ecds, c)
    	}
    
    	sort.Slice(ecds, func(i, j int) bool {
    		if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() {
    			return ecds[i].GetName() < ecds[j].GetName()
    		}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

        model_name_map: ModelNameMap,
        field_mapping: Dict[
            Tuple[ModelField, Literal["validation", "serialization"]], JsonSchemaValue
        ],
        separate_input_output_schemas: bool = True,
    ) -> List[Dict[str, Any]]:
        parameters = []
        flat_dependant = get_flat_dependant(dependant, skip_repeats=True)
        path_params = _get_flat_fields_from_params(flat_dependant.path_params)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-config-kv.go

    func (bce badConfigErr) Unwrap() error {
    	return bce.Err
    }
    
    type setConfigResult struct {
    	Cfg                     config.Config
    	SubSys                  string
    	Dynamic                 bool
    	LoggerWebhookCfgUpdated bool
    }
    
    // SetConfigKVHandler - PUT /minio/admin/v3/set-config-kv
    func (a adminAPIHandlers) SetConfigKVHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/extra-data-types.md

    # โž• ๐Ÿ’ฝ ๐Ÿ†Ž
    
    ๐Ÿ†™ ๐Ÿ”œ, ๐Ÿ‘† โœ”๏ธ โš™๏ธ โš  ๐Ÿ“Š ๐Ÿ†Ž, ๐Ÿ’–:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    โœ‹๏ธ ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŒ… ๐Ÿ— ๐Ÿ“Š ๐Ÿ†Ž.
    
    &amp; ๐Ÿ‘† ๐Ÿ”œ โœ”๏ธ ๐ŸŽ โš’ ๐Ÿ‘€ ๐Ÿ†™ ๐Ÿ”œ:
    
    * ๐Ÿ‘‘ ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ•โ€๐Ÿฆบ.
    * ๐Ÿ’ฝ ๐Ÿ› ๏ธ โšช๏ธโžก๏ธ ๐Ÿ“จ ๐Ÿ“จ.
    * ๐Ÿ’ฝ ๐Ÿ› ๏ธ ๐Ÿ“จ ๐Ÿ’ฝ.
    * ๐Ÿ’ฝ ๐Ÿ”ฌ.
    * ๐Ÿง โœ &amp; ๐Ÿงพ.
    
    ## ๐ŸŽ ๐Ÿ’ฝ ๐Ÿ†Ž
    
    ๐Ÿ“ฅ ๐ŸŒ– ๐Ÿ“Š ๐Ÿ†Ž ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ:
    
    * `UUID`:
        * ๐Ÿฉ "โญ ๐Ÿ˜ ๐Ÿ†”", โš  ๐Ÿ†” ๐Ÿ“š ๐Ÿ’ฝ &amp; โš™๏ธ.
        * ๐Ÿ“จ &amp; ๐Ÿ“จ ๐Ÿ”œ ๐ŸŽจ `str`.
    * `datetime.datetime`:
        * ๐Ÿ `datetime.datetime`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. scripts/deploy_docs_status.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        github_repository: str
        github_token: SecretStr
        deploy_url: str | None = None
        commit_sha: str
        run_id: int
        is_done: bool = False
    
    
    def main():
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
    
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. lib/time/mkzip.go

    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/cmd/root_test.go

    // limitations under the License.
    
    package cmd
    
    import (
    	"bytes"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    )
    
    func checkHelpForFlag(t *testing.T, gotHelpText, flag string, wantExists bool) {
    	t.Helper()
    
    	if strings.Contains(gotHelpText, flag) != wantExists {
    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 15 17:59:55 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  9. docs/uk/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
    - 24.2K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/query-params.md

    ```
    
    ////
    
    ๐Ÿ‘‰ ๐Ÿ’ผ, ๐Ÿ”ข ๐Ÿ”ข `q` ๐Ÿ”œ ๐Ÿ“ฆ, &amp; ๐Ÿ”œ `None` ๐Ÿ”ข.
    
    /// check
    
    ๐Ÿ‘€ ๐Ÿ‘ˆ **FastAPI** ๐Ÿ™ƒ ๐Ÿฅƒ ๐Ÿ‘€ ๐Ÿ‘ˆ โžก ๐Ÿ”ข `item_id` โžก ๐Ÿ”ข &amp; `q` ๐Ÿšซ,, โšซ๏ธ ๐Ÿ”ข ๐Ÿ”ข.
    
    ///
    
    ## ๐Ÿ”ข ๐Ÿ”ข ๐Ÿ†Ž ๐Ÿ› ๏ธ
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ `bool` ๐Ÿ†Ž, &amp; ๐Ÿ‘ซ ๐Ÿ”œ ๐Ÿ—œ:
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ &amp; ๐Ÿ”›
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params/tutorial003.py!}
    ```
    
    ////
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.1๏ธโƒฃ0๏ธโƒฃ &amp; ๐Ÿ”›
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top