Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for from (0.19 sec)

  1. docs/en/docs/release-notes.md

    ## 0.51.0
    
    * Re-export utils from Starlette:
        * This allows using things like `from fastapi.responses import JSONResponse` instead of `from starlette.responses import JSONResponse`.
        * It's mainly syntax sugar, a convenience for developer experience.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  2. cni/pkg/ipset/nldeps_linux.go

    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to delete IP %s with and proto %d from ipset %s: %w", ip, ipProto, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) flush(name string) error {
    	err := netlink.IpsetFlush(name)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    func GetInternalReplicationState(m map[string][]byte) ReplicationState {
    	m1 := make(map[string]string, len(m))
    	for k, v := range m {
    		m1[k] = string(v)
    	}
    	return getInternalReplicationState(m1)
    }
    
    // getInternalReplicationState fetches internal replication state from the map m
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * memorized and kept as long as supplier instance is kept open.
     * <p>
     * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem}
     * is thread safe.
     * <p>
     * Important: Given the instance of supplier memorizes the supplier {@link RepositorySystem} instance it supplies,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/ReactorReader.java

        }
    
        /**
         * Tries to resolve the specified artifact from the artifacts of the given project.
         *
         * @param project The project to try to resolve the artifact from, must not be <code>null</code>.
         * @param requestedArtifact The artifact to resolve, must not be <code>null</code>.
         * @return The matching artifact from the project or <code>null</code> if not found. Note that this
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

       * Removes every element that satisfies the provided predicate from the iterator. The iterator
       * will be left exhausted: its {@code hasNext()} method will return {@code false}.
       *
       * @param removeFrom the iterator to (potentially) remove elements from
       * @param predicate a predicate that determines whether an element should be removed
       * @return {@code true} if any elements were removed from the iterator
       * @since 2.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/behind-a-proxy.md

    In the docs UI at <a href="http://127.0.0.1:9999/api/v1/docs" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/docs</a> it would look like:
    
    <img src="/img/tutorial/behind-a-proxy/image03.png">
    
    !!! tip
        The docs UI will interact with the server that you select.
    
    ### Disable automatic server from `root_path`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  8. cmd/erasure-multipart.go

    	}
    	if reducedErr != nil {
    		return fi, nil, reducedErr
    	}
    
    	// Pick one from the first valid metadata.
    	fi, err = pickValidFileInfo(ctx, partsMetadata, modTime, etag, quorum)
    	return fi, partsMetadata, err
    }
    
    // Removes part.meta given by partName belonging to a multipart upload from minioMetaBucket
    func (er erasureObjects) removePartMeta(bucket, object, uploadID, dataDir string, partNumber int) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. docs/vi/docs/index.md

    Bây giờ sửa tệp tin `main.py` để nhận body từ một request `PUT`.
    
    Định nghĩa của body sử dụng kiểu dữ liệu chuẩn của Python, cảm ơn Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    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("/")
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  10. docs/hu/docs/index.md

    Módosítsuk a `main.py` fájlt, hogy `PUT` kérések esetén tudjon body-t fogadni.
    
    Deklaráld a body-t standard Python típusokkal, a Pydantic-nak köszönhetően.
    
    ```Python hl_lines="4  9-12  25-27"
    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("/")
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
Back to top