Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4511 - 4520 of 8,559 for class1 (0.18 sec)

  1. tests/test_union_forms.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class UserForm(BaseModel):
        name: str
        email: str
    
    
    class CompanyForm(BaseModel):
        company_name: str
        industry: str
    
    
    @app.post("/form-union/")
    def post_union_form(data: Annotated[Union[UserForm, CompanyForm], Form()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithImports.groovy

    package org.gradle.test
    
    import org.gradle.test.sub.*;
    
    class GroovyClassWithImports extends SubGroovyClass implements SubJavaInterface, GroovyInterface {
        void close() {
        }
    }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 228 bytes
    - Viewed (0)
  3. docs_src/body_updates/tutorial002_py310.py

    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str | None = None
        description: str | None = None
        price: float | None = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1022 bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/archtest/PackageCyclesExtension.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.archtest
    
    import org.gradle.api.provider.ListProperty
    
    
    abstract class PackageCyclesExtension {
    
        abstract val excludePatterns: ListProperty<String>
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 08 16:07:53 UTC 2022
    - 790 bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.smb;
    
    /**
     * Represents SMB authentication information, including server details,
     * credentials, and domain. This class is used to encapsulate the necessary
     * information for authenticating with an SMB server.
     *
     * <p>
     * It provides methods to set and retrieve the server address, port, username,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/SystemUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    /**
     * Utility class for system operations.
     *
     * @author wyukawa
     * @author shinsuke
     *
     */
    public abstract class SystemUtil {
    
        /**
         * Do not instantiate.
         */
        protected SystemUtil() {
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java

    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for boost document rule management operations.
     * Provides CRUD operations for boost document rules.
     */
    public class BoostDocumentRuleService extends FessAppService {
        /**
         * Default constructor for BoostDocumentRuleService.
         */
        public BoostDocumentRuleService() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsAccessTokenCB.java

    import org.dbflute.cbean.ConditionQuery;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class BsAccessTokenCB extends EsAbstractConditionBean {
    
        // ===================================================================================
        //                                                                           Attribute
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsFailureUrlCB.java

    import org.dbflute.cbean.ConditionQuery;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class BsFailureUrlCB extends EsAbstractConditionBean {
    
        // ===================================================================================
        //                                                                           Attribute
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsRelatedContentCB.java

    import org.dbflute.cbean.ConditionQuery;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class BsRelatedContentCB extends EsAbstractConditionBean {
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top