Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 4,069 for get3 (0.02 sec)

  1. docs/zh/docs/tutorial/first-steps.md

    `@app.get("/")` 告诉 **FastAPI** 在它下方的函数负责处理如下访问请求:
    
    * 请求路径为 `/`
    * 使用 <abbr title="HTTP GET 方法"><code>get</code> 操作</abbr>
    
    /// info | `@decorator` Info
    
    `@something` 语法在 Python 中被称为「装饰器」。
    
    像一顶漂亮的装饰帽一样,将它放在一个函数的上方(我猜测这个术语的命名就是这么来的)。
    
    装饰器接收位于其下方的函数并且用它完成一些工作。
    
    在我们的例子中,这个装饰器告诉 **FastAPI** 位于其下方的函数对应着**路径** `/` 加上 `get` **操作**。
    
    它是一个「**路径操作装饰器**」。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

        //                                                                      ==============
    
        // GET /api/admin/fileconfig/settings
        // PUT /api/admin/fileconfig/settings
        /**
         * Returns list of file configuration settings.
         * Supports both GET and PUT requests for retrieving paginated file configuration settings.
         *
         * @param body search parameters for filtering and pagination
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        result = Maps.fromProperties(testProp);
        assertEquals(4, result.size());
        assertEquals("true", result.get("first"));
        assertEquals("", result.get("test"));
        assertEquals("2", result.get("second"));
        assertEquals("item :   a short  phrase   ", result.get("Third"));
        assertFalse(result.containsKey("not here"));
    
        // Test loading system properties
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        if (entries.size() >= 1) {
          a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0)));
          if (entries.size() >= 3) {
            b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1)));
            c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2)));
          }
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            for (final String field : fields) {
                final Object textObj = document.get(field);
                if (textObj == null) {
                    continue;
                }
                final String text = textObj.toString();
                final String lang = document.get(langFieldName) == null ? null : document.get(langFieldName).toString();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                Document childDoc = Document.of(childPomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("/project/pom.xml"), parentDoc);
                pomMap.put(Paths.get("/project/child/pom.xml"), childDoc);
    
                UpgradeContext context = createMockContext();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. buildSrc/src/main/kotlin/Osgi.kt

      }
    }
    
    val Project.sourceSets: SourceSetContainer
      get() = (this as ExtensionAware).extensions["sourceSets"] as SourceSetContainer
    
    private val Project.kotlinOsgi: MinimalExternalModuleDependency
      get() =
        extensions
          .getByType(VersionCatalogsExtension::class.java)
          .named("libs")
          .findLibrary("kotlin.stdlib.osgi")
          .get()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial012_an_py39.py

        return x_key
    
    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 746 bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            return SmbConstants.TYPE_FILESYSTEM;
        }
    
        /**
         * @return the fileIndex
         */
        @Override
        public int getFileIndex() {
            return this.fileIndex;
        }
    
        /**
         * Gets the filename.
         *
         * @return the filename
         */
        public String getFilename() {
            return this.filename;
        }
    
        @Override
        public int getAttributes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. tests/test_router_events.py

        app = FastAPI(lifespan=lifespan)
    
        @app.get("/")
        def main() -> dict[str, str]:
            return {"message": "Hello World"}
    
        assert state.app_startup is False
        assert state.app_shutdown is False
        with TestClient(app) as client:
            assert state.app_startup is True
            assert state.app_shutdown is False
            response = client.get("/")
            assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top