Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 1,612 for path1b (0.04 seconds)

  1. docs/es/docs/advanced/response-directly.md

    # Devolver una Response Directamente { #return-a-response-directly }
    
    Cuando creas una *path operation* en **FastAPI**, normalmente puedes devolver cualquier dato desde ella: un `dict`, una `list`, un modelo de Pydantic, un modelo de base de datos, etc.
    
    Si declaras un [Response Model](../tutorial/response-model.md) FastAPI lo usará para serializar los datos a JSON, usando Pydantic.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            }
        }
    
        /**
         * Traverses classes contained in a Jar file.
         * <p>
         * If the specified Jar file has the extension <code>.war</code>, only entries whose path starts with the prefix <code>WEB-INF/classes</code> are traversed.
         * The handler receives the entry name excluding the prefix. For example, if the Jar file contains <code>/WEB-INF/classes/ccc/ddd/Eee.class</code>,
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/HandlerTest.java

            // results in an IOException, as no default handler should be found.
            assertThrows(IOException.class, () -> {
                handler.openConnection(new URL("unknownprotocol://somehost/path"));
            }, "Should throw IOException for an unknown protocol.");
        }
    
        @Test
        void testSetURLStreamHandlerFactory_SuccessFirstTime() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                processChatRequest(request, response);
            } else {
                if (logger.isDebugEnabled()) {
                    logger.debug("Unknown chat API path. path={}", servletPath);
                }
                writeJsonResponse(response, HttpServletResponse.SC_NOT_FOUND, createErrorResponse("Not found"));
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override val badValue: Cache =
            Cache(
              object : ForwardingFileSystem(FakeFileSystem()) {
                override fun onPathParameter(
                  path: Path,
                  functionName: String,
                  parameterName: String,
                ): Path = TODO()
              },
              "/cash".toPath(),
              1,
            )
    
          override fun isDefaultValue(value: Cache?): Boolean = value == null
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/handling-errors.md

    ### コード内での`HTTPException`の発生 { #raise-an-httpexception-in-your-code }
    
    `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。
    
    Pythonの例外なので、`return`ではなく、`raise`です。
    
    これはまた、*path operation関数*の内部で呼び出しているユーティリティ関数の内部から`HTTPException`を発生させた場合、*path operation関数*の残りのコードは実行されず、そのリクエストを直ちに終了させ、`HTTPException`からのHTTPエラーをクライアントに送信することを意味します。
    
    値を返す`return`よりも例外を発生させることの利点は、「依存関係とセキュリティ」のセクションでより明確になります。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        private SmbFileInputStream newStream() throws SmbException {
            // Constructor that avoids external I/O; stays in-memory
            when(mockTree.isSMB2()).thenReturn(true); // default SMB2 for simple happy-path
            return new SmbFileInputStream(mockFile, mockTree, mockHandle);
        }
    
        @BeforeEach
        void setUp() throws Exception {
            // Common, safe defaults for collaborators
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    LocalRepositoryManager lrm = session.getLocalRepositoryManager();
                    String path = lrm.getPathForLocalArtifact(artifactRequest.getArtifact());
                    artifact.setFile(new File(lrm.getRepository().getBasedir(), path));
    
                    RepositorySystem repoSystem = container.lookup(RepositorySystem.class);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  9. src/main/java/jcifs/CIFSContext.java

         *
         * @return the transport pool
         */
        SmbTransportPool getTransportPool();
    
        /**
         * Get the DFS resolver for handling distributed file system paths
         *
         * @return the DFS instance for this context
         */
        DfsResolver getDfs();
    
        /**
         * Get the SID resolver for resolving security identifiers
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. tests/test_security_oauth2_optional.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/login": {
                        "post": {
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top