Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3861 - 3870 of 3,913 for getS (0.04 sec)

  1. docs/em/docs/tutorial/sql-databases.md

    ```
    
    ...& ↩️ 👥 ⚙️:
    
    ```Python
    user = db.query(User).first()
    ```
    
    ⤴️ 👥 🔜 📣 *➡ 🛠️ 🔢* & 🔗 🍵 `async def`, ⏮️ 😐 `def`,:
    
    ```Python hl_lines="2"
    @app.get("/users/{user_id}", response_model=schemas.User)
    def read_user(user_id: int, db: Session = Depends(get_db)):
        db_user = crud.get_user(db, user_id=user_id)
        ...
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. docs/ko/docs/deployment/docker.md

    * 빈 파일 `__init__.py`을 생성합니다.
    * 다음과 같은 `main.py`을 생성합니다:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### 도커파일
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    		if len(tag) != 0 {
    			allEmpty = false
    			break
    		}
    	}
    	if allEmpty {
    		c.PartETags = nil
    	}
    	if len(c.PartActualSizes) == 0 {
    		c.PartActualSizes = nil
    	}
    
    	// Get a 64 bit CRC
    	crc := hashDeterministicString(c.MetaUser)
    	crc ^= hashDeterministicBytes(c.MetaSys)
    
    	// Nil fields.
    	c.MetaSys = nil
    	c.MetaUser = nil
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public E poll() {
        return isEmpty() ? null : removeAndGet(0);
      }
    
      @SuppressWarnings("unchecked") // we must carefully only allow Es to get in
      E elementData(int index) {
        /*
         * requireNonNull is safe as long as we're careful to call this method only with populated
         * indexes.
         */
        return (E) requireNonNull(queue[index]);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. docs/ja/docs/contributing.md

    <div class="termy">
    
    ```console
    $ which pip
    
    some/directory/fastapi/env/bin/pip
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command pip
    
    some/directory/fastapi/env/bin/pip
    ```
    
    </div>
    
    ////
    
    `env/bin/pip`に`pip`バイナリが表示される場合は、正常に機能しています。🎉
    
    
    /// tip | "豆知識"
    
    この環境で`pip`を使って新しいパッケージをインストールするたびに、仮想環境を再度有効化します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. tensorflow/BUILD

    # Do NOT depend on it.
    tf_native_cc_binary(
        name = "tf_custom_op_library_additional_deps.dll",
        linkshared = 1,
        linkstatic = 1,
        deps = tf_custom_op_library_additional_deps_impl(),
    )
    
    # Get a DEF file generated by parsing all object files
    # of tf_custom_op_library_additional_deps.so
    filegroup(
        name = "tensorflow_def_file",
        srcs = [":tf_custom_op_library_additional_deps.dll"],
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/bigger-applications.md

    ```Python hl_lines="5-10  16  21" title="app/routers/items.py"
    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    由于每个*路径操作*的路径都必须以 `/` 开头,例如:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...前缀不能以 `/` 作为结尾。
    
    因此,本例中的前缀为 `/items`。
    
    我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/storage/v1/generated.proto

      // with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod.
      // A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.
      //
      // For more information about implementing this mode, see
      // https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. internal/s3select/csv/reader_contrib_test.go

    		},
    	}
    
    	for i, c := range cases {
    		t.Run(c.file, func(t *testing.T) {
    			var err error
    			var record sql.Record
    			var result bytes.Buffer
    			input := openTestFile(t, c.file)
    			// Get above block size.
    			input = append(input, input...)
    			args := ReaderArgs{
    				FileHeaderInfo:             use,
    				RecordDelimiter:            c.recordDelimiter,
    				FieldDelimiter:             c.fieldDelimiter,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

        // resolve ., .., and //
        for (String component : components) {
          switch (component) {
            case ".":
              continue;
            case "..":
              if (path.size() > 0 && !path.get(path.size() - 1).equals("..")) {
                path.remove(path.size() - 1);
              } else {
                path.add("..");
              }
              break;
            default:
              path.add(component);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top