- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 722 for status_ (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_dependency_yield_scope.py
assert response.status_code == 200 assert response.json() == {"status": "ok"} def test_app_level_dep_scope_function() -> None: app = FastAPI(dependencies=[Depends(raise_after_yield, scope="function")]) @app.get("/app-scope-function") def get_app_scope_function(): return {"status": "ok"} with TestClient(app) as client:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
docs_src/response_status_code/tutorial002_py39.py
from fastapi import FastAPI, status app = FastAPI() @app.post("/items/", status_code=status.HTTP_201_CREATED) async def create_item(name: str):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 173 bytes - Click Count (0) -
cmd/admin-handlers-site-replication.go
return } vars := mux.Vars(r) op := madmin.SiteResyncOp(vars["operation"]) var ( status madmin.SRResyncOpStatus err error ) switch op { case madmin.SiteResyncStart: status, err = globalSiteReplicationSys.startResync(ctx, objectAPI, peerSite) case madmin.SiteResyncCancel: status, err = globalSiteReplicationSys.cancelResync(ctx, objectAPI, peerSite) default:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.4K bytes - Click Count (0) -
internal/bucket/object/lock/lock.go
} return lhold, nil } // ObjectLegalHold specified in // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLegalHold.html type ObjectLegalHold struct { XMLNS string `xml:"xmlns,attr,omitempty"` XMLName xml.Name `xml:"LegalHold"` Status LegalHoldStatus `xml:"Status,omitempty"` } // UnmarshalXML - decodes XML data.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.9K bytes - Click Count (0) -
cmd/data-scanner_test.go
<Rule> <ID>max-versions</ID> <Status>Enabled</Status> <NoncurrentVersionExpiration> <NewerNoncurrentVersions>2</NewerNoncurrentVersions> </NoncurrentVersionExpiration> </Rule> <Rule> <ID>delete-all-versions</ID> <Status>Enabled</Status> <Filter> <Tag>
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbEndOfFileException focusing on message, status, and throwability. */ @ExtendWith(MockitoExtension.class) class SmbEndOfFileExceptionTest { /** * Verifies the no-arg constructor sets the expected message, status, and no cause. */ @Test void defaultConstructorSetsMessageAndStatus() { // Arrange & ActCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
writeErrorResponseJSON(ctx, w, apiErr, r.URL) return } status, err := pools.Status(r.Context(), idx) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } adminLogIf(r.Context(), json.NewEncoder(w).Encode(&status)) } func (a adminAPIHandlers) ListPools(w http.ResponseWriter, r *http.Request) { ctx := r.Context()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
SmbException ex = new SmbException(0, root); assertSame(root, ex.getRootCause()); } /** * Verify that the string-ctor sets status to {@code NT_STATUS_UNSUCCESSFUL}. */ @Test @DisplayName("String constructor sets NT_STATUS_UNSUCCESSFUL status") void testStringConstructor() { SmbException ex = new SmbException("custom message"); assertEquals("custom message", ex.getMessage());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
response.status = 0; response.numEntries = 2; byte[] buffer = { 0x00, 0x00, 0x12, 0x34, 0x02, 0x00, 0x05, 0x00 }; response.readParametersWireFormat(buffer, 0, buffer.length); String resultString = response.toString(); assertTrue(resultString.contains("status=0"), "toString should contain the status.");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
Esse código de status será usado na resposta e será adicionado ao esquema OpenAPI. /// note | Detalhes Técnicos Você também poderia usar `from starlette import status`. **FastAPI** fornece o mesmo `starlette.status` como `fastapi.status` apenas como uma conveniência para você, o desenvolvedor. Mas vem diretamente do Starlette. /// ## Tags { #tags }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.4K bytes - Click Count (0)