- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 2,149 for concept (0.23 sec)
-
docs/pt/docs/tutorial/schema-extra-example.md
Aqui estão várias formas de se fazer isso. ## `schema_extra` do Pydantic Você pode declarar um `example` para um modelo Pydantic usando `Config` e `schema_extra`, conforme descrito em <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Documentação do Pydantic: Schema customization</a>: {* ../../docs_src/schema_extra_example/tutorial001.py hl[15:23] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
@BeforeEach public void setUp() { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Disable for unit tests directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager); } @AfterEach public void tearDown() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc. By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.util.Hexdump; /** * SMB1 Tree Connect AndX request message. * * This command is used to connect to a shared resource * on the server, such as a file share or printer. */ public class SmbComTreeConnectAndX extends AndXServerMessageBlock {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/metacache-walk.go
// On success a sorted meta cache stream will be returned. // Metadata has data stripped, if any. // The function tries to quit as fast as the context is canceled to avoid further drive IO func (s *xlStorage) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) (err error) { legacyFS := s.fsType != xfs && s.fsType != ext4 s.RLock() legacy := s.formatLegacy s.RUnlock()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* If the server or workgroup of the {@code context} file cannot be determined */ public SmbFile(final SmbFile context, final String name) throws MalformedURLException, UnknownHostException { this(context.isWorkgroup0() ? new URL(null, "smb1://" + name, Handler.SMB_HANDLER) : new URL(context.url, name, Handler.SMB_HANDLER), context.auth); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
return } // if Content-Length is unknown/missing, throw away size := r.ContentLength rAuthType := getRequestAuthType(r) // For auth type streaming signature, we need to gather a different content length. switch rAuthType { // Check signature types that must have content length
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 39.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(headersToList(response)).containsExactly("Content-Length: 0") } } @Test fun setStatusControlsWholeStatusLine() { val response = MockResponse().setStatus("HTTP/1.1 202 That'll do pig") assertThat(headersToList(response)).containsExactly("Content-Length: 0") assertThat(response.status).isEqualTo("HTTP/1.1 202 That'll do pig") } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
// Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric. val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl") val context = readFieldOrNull(sslSocketFactory, sslContextClass, "context") ?: return null readFieldOrNull(context, X509TrustManager::class.java, "trustManager") } catch (e: ClassNotFoundException) { null } catch (e: RuntimeException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
@Test public void testConstructorWithContextAndName() throws Exception { // Test constructor that takes a context SmbFile and a name SmbFile context = new SmbFile("smb1://server/share/"); String name = "file.txt"; SmbFile smbFile = new SmbFile(context, name); assertEquals("smb1://server/share/file.txt", smbFile.getCanonicalPath()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0)