Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 2,994 for Class1 (0.05 seconds)

  1. docs_src/custom_request_and_route/tutorial003_py310.py

    import time
    from collections.abc import Callable
    
    from fastapi import APIRouter, FastAPI, Request, Response
    from fastapi.routing import APIRoute
    
    
    class TimedRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                before = time.time()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/BuildDistributions.kt

    package configurations
    
    import common.Os.LINUX
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import common.setArtifactRules
    import model.CIBuildModel
    import model.Stage
    
    class BuildDistributions(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = LINUX, stage = stage, init = {
            id("${model.projectId}_BuildDistributions")
            name = "Build Distributions"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.identity.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 813 bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JavaxAnnotationNullabilityChangesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    class JavaxAnnotationNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
        override val nullableAnnotationName: String = "javax.annotation.Nullable"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 824 bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 815 bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/SimpleLookup.java

        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type) {
            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return Optional.empty();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                    new ComponentDescriptor<>(InjectDependencyLifecycleListener.class, container.getContainerRealm());
            cd.setRoleClass(AbstractMavenLifecycleParticipant.class);
            container.addComponentDescriptor(cd);
    
            Maven maven = container.lookup(Maven.class);
            File pom = getProject("lifecycle-listener-dependency-injection");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    So, a Python class is also a **callable**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/sub-applications.md

    ### 查看文档
    
    如果主文件是 `main.py`,则用以下 `uvicorn` 命令运行主应用:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    查看文档 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs。</a>
    
    下图显示的是主应用 API 文档,只包括其自有的*路径操作*。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. docs/de/docs/how-to/separate-openapi-schemas.md

    ### Eingabemodell in der Dokumentation { #input-model-in-docs }
    
    Sie können überprüfen, dass das Feld `description` in der Dokumentation kein **rotes Sternchen** enthält, es ist nicht als erforderlich markiert:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image01.png">
    </div>
    
    ### Modell für die Ausgabe { #model-for-output }
    
    Wenn Sie jedoch dasselbe Modell als Ausgabe verwenden, wie hier:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top