- Sort Score
- Result 10 results
- Languages All
Results 2401 - 2410 of 7,083 for returned (0.2 sec)
-
docs_src/extra_models/tutorial002_py310.py
hashed_password: str def fake_password_hasher(raw_password: str): return "supersecret" + raw_password def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password) user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password) print("User saved! ..not really") return user_in_db @app.post("/user/", response_model=UserOut)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 792 bytes - Viewed (0) -
docs_src/handling_errors/tutorial004.py
app = FastAPI() @app.exception_handler(StarletteHTTPException) async def http_exception_handler(request, exc): return PlainTextResponse(str(exc.detail), status_code=exc.status_code) @app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): return PlainTextResponse(str(exc), status_code=400) @app.get("/items/{item_id}") async def read_item(item_id: int):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 762 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java
public boolean hasAggregations() { return aggregationAggregationBuilderList != null && !aggregationAggregationBuilderList.isEmpty(); } public List<AbstractAggregationBuilder<?>> getAggregationBuilderList() { return aggregationAggregationBuilderList != null ? aggregationAggregationBuilderList : Collections.emptyList(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java
protected String getQueryClassName() { return PhraseQuery.class.getSimpleName(); } @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final PhraseQuery phraseQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); } return convertPhraseQuery(context, phraseQuery, boost);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java
dataOffset = readInt2( buffer, bufferIndex ); bufferIndex += 12; // 10 reserved return bufferIndex - start; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) { // handled special in SmbTransport.doRecv() return 0; } public String toString() { return new String( "SmbComReadAndXResponse[" + super.toString() +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
* Gets the type of the event. * * @return The type of the event, never {@code null}. */ Type getType(); /** * Gets the session from which this event originates. * * @return The current session, never {@code null}. */ MavenSession getSession(); /** * Gets the current project (if any). * * @return The current project or {@code null} if not applicable.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/JobLog.java
} public ScheduledJob getScheduledJob() { return scheduledJob; } public String getId() { return asDocMeta().id(); } public void setId(final String id) { asDocMeta().id(id); } public Long getVersionNo() { return asDocMeta().version(); } public void setVersionNo(final Long version) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
}; } @Override public boolean isValid(final String value, final ConstraintValidatorContext context) { if (StringUtil.isNotBlank(value)) { return check(protocols, value); } return true; } protected static boolean check(final String[] protocols, final String value) { final String[] paths = value.split("[\r\n]"); for (final String path : paths) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:37:12 UTC 2024 - 2.3K bytes - Viewed (0)