Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 200 for alias (0.03 sec)

  1. tests/test_serialize_response_model.py

    from typing import Dict, List, Optional
    
    from fastapi import FastAPI
    from pydantic import BaseModel, Field
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(alias="aliased_name")
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_bucket.txt

    	ACCESS=$(cat /config/rootUser)
    	SECRET=$(cat /config/rootPassword)
    	set +e # The connections to minio are allowed to fail.
    	echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT"
    	MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET"
    	$MC_COMMAND
    	STATUS=$?
    	until [ $STATUS = 0 ]; do
    		ATTEMPTS=$(expr $ATTEMPTS + 1)
    		echo \"Failed attempts: $ATTEMPTS\"
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. docs/iam/access-management-plugin.md

    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123
    export MINIO_POLICY_PLUGIN_URL=http://localhost:8080/
    minio server /tmp/disk{1...4}
    ```
    
    Now, let's test it out with `mc`:
    
    ```sh
    mc alias set myminio http://localhost:9000 minio minio123
    mc ls myminio
    mc mb myminio/test
    mc cp /etc/issue myminio/test
    mc admin user add myminio foo foobar123
    export MC_HOST_foo=http://foo:foobar123@localhost:9000
    mc ls foo
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Dec 13 22:28:48 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/query-params-str-validations.md

    πŸ’–:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    βœ‹οΈ `item-query` 🚫 β˜‘ 🐍 πŸ”’ πŸ“›.
    
    πŸ” πŸ”œ `item_query`.
    
    βœ‹οΈ πŸ‘† πŸ’ͺ ⚫️ βš«οΈβ” `item-query`...
    
    ‴️ πŸ‘† πŸ’ͺ πŸ“£ `alias`, & πŸ‘ˆ πŸ“› βš«οΈβ” πŸ”œ βš™οΈ πŸ”Ž πŸ”’ πŸ’²:
    
    //// tab | 🐍 3️⃣.6️⃣ & πŸ”›
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial009.py!}
    ```
    
    ////
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. docs/multi-user/README.md

    ```
    mc admin user list myminio
    ```
    
    List all enabled or disabled groups.
    
    ```
    mc admin group list myminio
    ```
    
    ### 8. Configure `mc`
    
    ```
    mc alias set myminio-newuser http://localhost:9000 newuser newuser123 --api s3v4
    mc cat myminio-newuser/my-bucketname/my-objectname
    ```
    
    ### Policy Variables
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. fastapi/applications.py

                bool,
                Doc(
                    """
                    Configuration passed to Pydantic to define if the response model
                    should be serialized by alias when an alias is used.
    
                    Read more about it in the
                    [FastAPI docs for Response Model - Return Type](https://fastapi.tiangolo.com/tutorial/response-model/#response_model_include-and-response_model_exclude).
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/utils.go

    		parts[0] = e.BaseKey.String()
    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    // cached for repeated lookups during SQL query evaluation.
    func (e *JSONPath) StripTableAlias(tableAlias string) []*JSONPathElement {
    	if e.strippedTableAlias == tableAlias {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_svcacct.txt

      ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;
      set +e ; # The connections to minio are allowed to fail.
      echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ;
      MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ;
      $MC_COMMAND ;
      STATUS=$? ;
      until [ $STATUS = 0 ]
      do
        ATTEMPTS=`expr $ATTEMPTS + 1` ;
        echo \"Failed attempts: $ATTEMPTS\" ;
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Mar 28 23:20:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/query-params-str-validations.md

    마치 λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    κ·ΈλŸ¬λ‚˜ `item-query`은 μœ νš¨ν•œ 파이썬 λ³€μˆ˜ 이름이 μ•„λ‹™λ‹ˆλ‹€.
    
    κ°€μž₯ κ°€κΉŒμš΄ 것은 `item_query`일 κ²λ‹ˆλ‹€.
    
    ν•˜μ§€λ§Œ μ •ν™•νžˆ`item-query`이길 μ›ν•©λ‹ˆλ‹€...
    
    이럴 경우 `alias`λ₯Ό μ„ μ–Έν•  수 있으며, ν•΄λ‹Ή 별칭은 λ§€κ°œλ³€μˆ˜ 값을 μ°ΎλŠ” 데 μ‚¬μš©λ©λ‹ˆλ‹€:
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params_str_validations/tutorial009.py!}
    ```
    
    ## λ§€κ°œλ³€μˆ˜ μ‚¬μš©ν•˜μ§€ μ•Šκ²Œ ν•˜κΈ°
    
    μ΄μ œλŠ” 더이상 이 λ§€κ°œλ³€μˆ˜λ₯Ό λ§ˆμŒμ— λ“€μ–΄ν•˜μ§€ μ•ŠλŠ”λ‹€κ³  κ°€μ •ν•΄ λ΄…μ‹œλ‹€.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

    		{
    			name:  "Select reserved word column with table alias",
    			query: `select S3Object."CAST" from s3object`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with unused table alias",
    			query: `select "CAST"  from s3object s`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with table alias",
    			query: `select s."CAST"  from s3object s`,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
Back to top