- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,603 for USER (0.13 sec)
-
docs_src/response_model/tutorial003_01_py39.py
class BaseUser(BaseModel): username: str email: EmailStr full_name: Union[str, None] = None class UserIn(BaseUser): password: str @app.post("/user/") async def create_user(user: UserIn) -> BaseUser:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 349 bytes - Viewed (0) -
tests/test_security_scopes.py
call_counter["count"] += 1 return f"db_{call_counter['count']}" def get_user(db: Annotated[str, Depends(get_db)]): return "user" app = FastAPI() @app.get("/") def endpoint( db: Annotated[str, Depends(get_db)], user: Annotated[str, Security(get_user, scopes=["read"])], ): return {"db": db} return app @pytest.fixture(name="client")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1006 bytes - Viewed (0) -
docs/fr/docs/features.md
return user_id # Un modèle Pydantic class User(BaseModel): id: int name: str joined: date ``` Qui peuvent ensuite être utilisés comme cela: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// infoRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.1K bytes - Viewed (0) -
cmd/bucket-object-lock.go
if ret.Mode.Valid() { switch ret.Mode { case objectlock.RetCompliance: // In compliance mode, a protected object version can't be overwritten // or deleted by any user, including the root user in your AWS account. // When an object is locked in compliance mode, its retention mode can't // be changed, and its retention period can't be shortened. Compliance mode
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 08 02:38:25 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/UserInfoService.java
import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.opensearch.log.exbhv.UserInfoBhv; import jakarta.annotation.Resource; /** * Service class for managing user information data. * This service provides operations for maintaining and cleaning up user information records. */ public class UserInfoService { @Resource private UserInfoBhv userInfoBhv; @Resource private SystemHelper systemHelper;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
helm-releases/minio-5.3.0.tgz
echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 11 12:21:05 UTC 2024 - 21.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/index.md
# Учебник - Руководство пользователя { #tutorial-user-guide } В этом руководстве шаг за шагом показано, как использовать **FastAPI** с большинством его функций. Каждый раздел постепенно основывается на предыдущих, но структура разделяет темы, так что вы можете сразу перейти к нужной теме для решения ваших конкретных задач по API. Он также создан как справочник на будущее, чтобы вы могли вернуться и посмотреть именно то, что вам нужно.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/batch-jobs/README.md
MinIO batch jobs framework also provides - Retrying a failed job automatically driven by user input - Monitoring job progress in real-time - Send notifications upon completion or failure to user configured target Following YAML describes the structure of a replication job, each value is documented and self-describing. ```yaml replicate: apiVersion: v1
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Oct 06 06:00:43 UTC 2022 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Make attempts from same IP with different users for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip), "Attempt " + i + " should be allowed"); rateLimiter.recordFailure("user" + i, ip); } // 6th attempt from same IP should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "Should block after IP rate limit");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
@ValueSource(strings = { "user", "user123", "user.name", "user-name", "user_name", "user@domain.com" }) void testValidUsernames(String username) { assertDoesNotThrow(() -> InputValidator.validateUsername(username)); } @ParameterizedTest @DisplayName("Test invalid usernames") @ValueSource(strings = { "user name", // space "user#name", // invalid characterRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0)