- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 287 for Clone (0.05 seconds)
-
fastapi/routing.py
self.response_field = create_model_field( name=response_name, type_=self.response_model, mode="serialization", ) # Create a clone of the field, so that a Pydantic submodel is not returned # as is just because it's an instance of a subclass of a more limited class # e.g. UserInDB (containing hashed_password) could be a subclass of User
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
cmd/bucket-replication.go
if err != nil { return nil, proxy, err } closeReader := func() { obj.Close() } reader, err := fn(obj, h, closeReader) if err != nil { return nil, proxy, err } reader.ObjInfo = oi.Clone() if rs != nil { contentSize, err := parseSizeFromContentRange(h) if err != nil { return nil, proxy, err } reader.ObjInfo.Size = contentSize }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 118.2K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
profile.</description> </field> </fields> </class> --> <!-- /BuildProfile support --> <class xml.tagName="plugin" xdoc.anchorName="report_plugin" java.clone="deep"> <name>ReportPlugin</name> <version>4.0.0+</version> <superClass>ConfigurationContainer</superClass> <description> <, [@ahg-g](https://github.com/ahg-g)) - Added Clone method to the scheduling framework's PluginContext and ContextData. ([#82951](https://github.com/kubernetes/kubernetes/pull/82951), [@ahg-g](https://github.com/ahg-g))
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Thu Jan 28 10:44:33 GMT 2021 - 346.2K bytes - Click Count (1) -
api/go1.13.txt
pkg net/http, func NewRequestWithContext(context.Context, string, string, io.Reader) (*Request, error) pkg net/http, method (Header) Clone() Header pkg net/http, method (*Request) Clone(context.Context) *Request pkg net/http, method (*Transport) Clone() *Transport pkg net/http, type Server struct, BaseContext func(net.Listener) context.Context
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
errCloneUnsupported) Unwrap() error { return errors.ErrUnsupported } // Clone implements [hash.Cloner] if the underlying hash does. // Otherwise, it returns an error wrapping [errors.ErrUnsupported]. func (h *HMAC) Clone() (hash.Cloner, error) { r := *h ic, ok := h.inner.(hash.Cloner) if !ok { return nil, errCloneUnsupported{} } oc, ok := h.outer.(hash.Cloner) if !ok { return nil, errCloneUnsupported{} } var err error r.inner, err = ic.Clone() if err != nil { return nil, errCloneUnsupported{} } r.outer, err...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
docs_src/response_headers/tutorial001_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 309 bytes - Click Count (0) -
docs_src/response_headers/tutorial002_py39.py
from fastapi import FastAPI, Response app = FastAPI() @app.get("/headers-and-object/") def get_headers(response: Response): response.headers["X-Cat-Dog"] = "alone in the world"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 222 bytes - Click Count (0) -
tests/test_tutorial/test_response_headers/test_tutorial002.py
def test_path_operation(): response = client.get("/headers-and-object/") assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 383 bytes - Click Count (0)