Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 2,341 for get3 (0.03 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            provider.parse(sourceFile.get().asFile)
            transformDocument(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformDocument(Document mainDocbookTemplate) {
            ClassMetaDataRepository<ClassMetaData> classRepository = new SimpleClassMetaDataRepository<ClassMetaData>()
            classRepository.load(classMetaDataFile.get().asFile)
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  2. tests/update_has_one_test.go

    		CheckPet(t, pet2, pet)
    
    		pet.Toy.Name += "new"
    		if err := DB.Save(&pet).Error; err != nil {
    			t.Fatalf("errors happened when update: %v", err)
    		}
    
    		var pet3 Pet
    		DB.Preload("Toy").Find(&pet3, "id = ?", pet.ID)
    		CheckPet(t, pet2, pet3)
    
    		if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&pet).Error; err != nil {
    			t.Fatalf("errors happened when update: %v", err)
    		}
    
    		var pet4 Pet
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. tests/test_additional_responses_response_class.py

        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
        response_class=JsonApiResponse,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
        pass  # pragma: no cover
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. tests/test_local_docs.py

    
    def test_strings_in_generated_swagger():
        sig = inspect.signature(get_swagger_ui_html)
        swagger_js_url = sig.parameters.get("swagger_js_url").default  # type: ignore
        swagger_css_url = sig.parameters.get("swagger_css_url").default  # type: ignore
        swagger_favicon_url = sig.parameters.get("swagger_favicon_url").default  # type: ignore
        html = get_swagger_ui_html(openapi_url="/docs", title="title")
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                    resList.add(elem);
                }
            }
            return resList;
        }
    
        protected static List<Map<String, Object>> readLogItems(final String apiName) {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/" + apiName + "/logs").asString();
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (1)
  6. tests/test_additional_responses_custom_validationerror.py

    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a/{id}",
        response_class=JsonApiResponse,
        responses={422: {"description": "Error", "model": JsonApiError}},
    )
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

                logger.debug("Loaded {}", origin);
            }
            handerMap.put(origin, handler);
        }
    
        public CorsHandler get(final String origin) {
            final CorsHandler handler = handerMap.get(origin);
            if (handler != null) {
                return handler;
            }
            return handerMap.get("*");
        }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. tests/test_additional_responses_default_validationerror.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

    abstract class AbstractCheckOrUpdateContributorsInReleaseNotes : DefaultTask() {
        @get: Internal
        abstract val releaseNotes: RegularFileProperty
    
        @get: Option(option = "milestone", description = "The milestone prefix to check for contributors, i.e. '7.5' includes PRs with '7.5', '7.5 RC1', '7.5.1'")
        @get: Internal
        abstract val milestone: Property<String>
    
        @get: Internal
        abstract val githubToken: Property<String>
    
        @Internal
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                    }
                }
    
                for (int i = 1; i < header.size(); i++) {
                    if (cells.get(i).getFirstChild() == null) {
                        continue;
                    }
                    ExtraAttributeDoc attributeDoc = new ExtraAttributeDoc(valueTitles.get(i - 1), cells.get(i));
                    additionalValues.put(attributeDoc.getKey(), attributeDoc);
                }
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
Back to top