- Sort Score
- Num 10 results
- Language All
Results 3511 - 3520 of 9,145 for clase (0.45 seconds)
-
docs_src/schema_extra_example/tutorial004_py39.py
from typing import Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( examples=[ { "name": "Foo",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 824 bytes - Click Count (0) -
docs_src/body_fields/tutorial001_py39.py
from typing import Union from fastapi import Body, FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = Field( default=None, title="The description of the item", max_length=300 ) price: float = Field(gt=0, description="The price must be greater than zero") tax: Union[float, None] = None @app.put("/items/{item_id}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 561 bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial001_py310.py
from fastapi import FastAPI, Path from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str | None = None, item: Item | None = None, ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 546 bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java
* * This class provides constants and utility methods for managing directory lease states * in SMB2/SMB3 protocol implementations. Directory leases enable clients to cache * directory metadata and reduce network round-trips for directory operations. */ public class DirectoryLeaseState { /** * Private constructor to prevent instantiation of this utility class */ private DirectoryLeaseState() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionConfigurationModule.java
configuration = new ExtensionInterpolator(it).transform(configuration); binder.bind(XmlNode.class) .annotatedWith(Names.named(extension.getKey())) .toInstance(configuration); binder.bind(PlexusConfiguration.class) .annotatedWith(Names.named(extension.getKey()))
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 2.9K bytes - Click Count (0) -
logger/logger.go
// //nolint:cyclop func (l *logger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) { if l.LogLevel <= Silent { return } elapsed := time.Since(begin) switch { case err != nil && l.LogLevel >= Error && (!errors.Is(err, ErrRecordNotFound) || !l.IgnoreRecordNotFoundError): sql, rows := fc() if rows == -1 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:19:28 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java
import org.dbflute.optional.OptionalEntity; import jakarta.annotation.Resource; /** * Service class for managing related query entities. * This service provides operations to retrieve, store, and delete related queries, * which are used to suggest alternative search terms to users. */ public class RelatedQueryService extends FessAppService { /** * Default constructor for RelatedQueryService.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
* information returned by the NetServerEnum2 transaction in SMB1 protocol. * * @author mbechler * */ public class NetServerEnum2Response extends SmbComTransactionResponse { private static final Logger log = LoggerFactory.getLogger(NetServerEnum2Response.class); class ServerInfo1 implements FileEntry { String name; int versionMajor; int versionMinor; int type;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
* [event listener factory][OkHttpClient.eventListenerFactory]. * * The format of the logs created by this class should not be considered stable and may change * slightly between releases. If you need a stable logging format, use your own event listener. */ class LoggingEventListener private constructor( private val logger: HttpLoggingInterceptor.Logger, ) : EventListener() { private var startNs: Long = 0
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 13:40:20 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0)