Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 238 for i_size (0.06 sec)

  1. docs/en/docs/tutorial/debugging.md

    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    in that case, the automatically created variable inside of `myapp.py` will not have the variable `__name__` with a value of `"__main__"`.
    
    So, the line:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will not be executed.
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. ci/official/upload.sh

      # $TF_VER_FULL will resolve to e.g. "2.15.0-rc2". Since $TF_VER_FULL comes
      # from get_versions.sh, which must be run *after* update_version.py, FINAL_URI
      # can't be set inside the rest of the _upload envs.
      FINAL_URI="$TFCI_ARTIFACT_FINAL_GCS_URI/$TF_VER_FULL"
      gsutil -m rsync -d -r "$DOWNLOADS" "$FINAL_URI"
    
      # Also mirror the latest-uploaded folder to the "latest" directory.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 24 20:52:12 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/en/docs/features.md

    You write standard Python with types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. ci/official/installer_wheel.sh

    # above is tagged with "py3-none-any". We cannot change the tags by simply
    # renaming the wheels as uploading to PyPI would fail with "File already exists"
    # error. In order to upload to PyPI, we unpack the wheel and change the tag
    # inside a metadata file to the one we want (e.g cp38-cp38-win_amd) and then
    # re-pack it to generate it as a platform specific wheel with this new wheel
    #tag.
    python3 -m wheel unpack "${pure_python_whl}"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 25 17:28:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter_test.go

    		{
    			filter:  fiLtAndGt,
    			objSize: 100*humanize.MiByte + 1,
    			want:    false,
    		},
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			if got := test.filter.BySize(test.objSize); got != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    func TestTestTags(t *testing.T) {
    	noTags := Filter{
    		set: true,
    		And: And{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/adminlte.min.js

    ion(){var e=this,t=n.default("body");t.hasClass(L)||t.hasClass(D)?(n.default(k).not(this._config.target).hide(),n.default(this._config.target).css("display","block")):n.default(k).hide(),this._fixHeight(),this._fixScrollHeight(),n.default(window).resize((function(){e._fixHeight(),e._fixScrollHeight()})),n.default(window).scroll((function(){var t=n.default("body");(t.hasClass(L)||t.hasClass(D))&&e._fixScrollHeight()}))},t._isNavbarFixed=function(){var e=n.default("body");return e.hasClass("layout...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics_gen.go

    	s = 1 + 15 + msgp.Int64Size + 7 + z.Failed.Msgsize() + 16 + msgp.Int64Size + 8 + z.Latency.Msgsize() + 3
    	if z.XferRateLrg == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.XferRateLrg.Msgsize()
    	}
    	s += 3
    	if z.XferRateSml == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.XferRateSml.Msgsize()
    	}
    	s += 9 + msgp.StringPrefixSize + len(z.Endpoint) + 7 + msgp.BoolSize
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    
    It doesn't matter. **FastAPI** will know what to do.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params.md

    ```Python hl_lines="7"
    {!../../docs_src/path_params/tutorial002.py!}
    ```
    
    In this case, `item_id` is declared to be an `int`.
    
    /// check
    
    This will give you editor support inside of your function, with error checks, completion, etc.
    
    ///
    
    ## Data <abbr title="also known as: serialization, parsing, marshalling">conversion</abbr>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server_gen.go

    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *ServerSystemConfig) Msgsize() (s int) {
    	s = 1 + 11 + msgp.IntSize + 9 + msgp.ArrayHeaderSize
    	for za0001 := range z.CmdLines {
    		s += msgp.StringPrefixSize + len(z.CmdLines[za0001])
    	}
    	s += 9 + msgp.MapHeaderSize
    	if z.MinioEnv != nil {
    		for za0002, za0003 := range z.MinioEnv {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top