- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,051 for optional (1.55 sec)
-
tests/test_security_oauth2_optional.py
def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()): return form_data @app.get("/users/me") def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.9K bytes - Viewed (0) -
internal/config/ilm/help.go
Type: "number", Description: `set the number of transition workers` + defaultHelpPostfix(transitionWorkers), Optional: true, }, config.HelpKV{ Key: expirationWorkers, Type: "number", Description: `set the number of expiration workers` + defaultHelpPostfix(expirationWorkers), Optional: true, }, }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu May 30 08:14:58 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t07/p0/p1/pom.xml
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t07-d</artifactId> <version>1.0</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t07-a</artifactId> <version>1.0</version>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.api; import java.util.Optional; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.PluginExecution; import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_union_body.py
from typing import Optional, Union from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: Optional[str] = None class OtherItem(BaseModel): price: int @app.post("/items/") def save_union_body(item: Union[OtherItem, Item]): return {"item": item} client = TestClient(app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.util.Optional; import org.apache.maven.api.ExtensibleEnum; import org.apache.maven.api.Service; import org.apache.maven.api.annotations.Nonnull; /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/WebConfigService.java
setupListCondition(cb, webConfigPager); }); // update pager BeanUtil.copyBeanToBean(webConfigList, webConfigPager, option -> option.include(Constants.PAGER_CONVERSION_RULE)); webConfigPager.setPageNumberList(webConfigList.pageRange(op -> { op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger()); }).createPageNumberList());
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/OptionalUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.util; import org.dbflute.optional.OptionalEntity; /** * Utility class for Optional operations. */ public class OptionalUtil { /** * Default constructor. */ private OptionalUtil() { // Default constructor } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
} } @Nonnull @Override public Optional<org.apache.maven.api.Toolchain> createDefaultToolchain() throws ToolchainFactoryException { return Optional.ofNullable(v3Factory.createDefaultToolchain()) .map(ToolchainManagerFactory.this::getToolchainV4); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 31 10:58:52 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
import org.codelibs.fess.opensearch.user.exentity.Role; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.RenderDataUtil; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 12.8K bytes - Viewed (0)