- Sort Score
- Result 10 results
- Languages All
Results 2241 - 2250 of 3,913 for getE (0.02 sec)
-
docs_src/app_testing/app_b_an_py39/main.py
"bar": {"id": "bar", "title": "Bar", "description": "The bartenders"}, } app = FastAPI() class Item(BaseModel): id: str title: str description: Union[str, None] = None @app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: Annotated[str, Header()]): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
} return mean; } // Serialization helpers /** The size of byte array representation in bytes. */ static final int BYTES = (Long.SIZE + Double.SIZE * 4) / Byte.SIZE; /** * Gets a byte array representation of this instance. * * <p><b>Note:</b> No guarantees are made regarding stability of the representation between * versions. */ public byte[] toByteArray() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
docs_src/additional_responses/tutorial003.py
from pydantic import BaseModel class Item(BaseModel): id: str value: str class Message(BaseModel): message: str app = FastAPI() @app.get( "/items/{item_id}", response_model=Item, responses={ 404: {"model": Message, "description": "The item was not found"}, 200: { "description": "Item requested by ID",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 837 bytes - Viewed (0) -
docs_src/security/tutorial002_an_py39.py
) async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]): user = fake_decode_token(token) return user @app.get("/users/me") async def read_users_me(current_user: Annotated[User, Depends(get_current_user)]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 786 bytes - Viewed (0) -
docs_src/security/tutorial007.py
status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password", headers={"WWW-Authenticate": "Basic"}, ) return credentials.username @app.get("/users/me") def read_current_user(username: str = Depends(get_current_username)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jan 11 14:33:05 UTC 2024 - 1.1K bytes - Viewed (0) -
build-logic-commons/basics/build.gradle.kts
because("Required by KotlinSourceParser") } implementation(kotlin("gradle-plugin") as String) { because("For manually defined KotlinSourceSet accessor - sourceSets.main.get().kotlin") } testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 17 10:11:26 UTC 2024 - 893 bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
} List<License> licenses = model.getLicenses(); properties.put("license.count", licenses.size()); for (int i = 0; i < licenses.size(); i++) { License license = licenses.get(i); properties.put("license." + i + ".name", license.getName()); properties.put("license." + i + ".url", license.getUrl()); properties.put("license." + i + ".comments", license.getComments());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
ProjectBuildingResult res; if (request.getPath().isPresent()) { Path path = request.getPath().get(); res = builder.build(path.toFile(), req); } else if (request.getSource().isPresent()) { Source source = request.getSource().get(); ModelSource2 modelSource = new SourceWrapper(source); res = builder.build(modelSource, req);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-status-code.md
* `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * etc. ```Python hl_lines="6" {!../../docs_src/response_status_code/tutorial001.py!} ``` /// note | "Nota" Observe que `status_code` é um parâmetro do método "decorador" (get, post, etc). Não da sua função de *operação de caminho*, como todos os parâmetros e corpo. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
} public boolean isProcessRunning() { return !runningProcessMap.isEmpty(); } public boolean isProcessRunning(final String sessionId) { final JobProcess jobProcess = runningProcessMap.get(sessionId); return jobProcess != null && jobProcess.getProcess().isAlive(); } protected int destroyProcess(final String sessionId, final JobProcess jobProcess) { if (jobProcess != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 6.4K bytes - Viewed (0)