Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1991 - 2000 of 3,253 for classof (0.06 sec)

  1. docs/zh/docs/python-types.md

    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    然后,你将再次获得所有的编辑器支持:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image06.png">
    
    ## Pydantic 模型
    
    <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> 是一个用来用来执行数据校验的 Python 库。
    
    你可以将数据的"结构"声明为具有属性的类。
    
    每个属性都拥有类型。
    
    接着你用一些值来创建这个类的实例,这些值会被校验,并被转换为适当的类型(在需要的情况下),返回一个包含所有数据的对象。
    
    然后,你将获得这个对象的所有编辑器支持。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsLabelTypeCB.java

    import org.dbflute.cbean.ConditionQuery;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class BsLabelTypeCB extends EsAbstractConditionBean {
    
        // ===================================================================================
        //                                                                           Attribute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsThumbnailQueueCB.java

    import org.dbflute.cbean.ConditionQuery;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class BsThumbnailQueueCB extends EsAbstractConditionBean {
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/encoder.md

    ## `jsonable_encoder`の使用
    
    JSON互換のデータのみを受信するデータベース`fase_db`があるとしましょう。
    
    例えば、`datetime`オブジェクトはJSONと互換性がないので、このデーターベースには受け取られません。
    
    そのため、`datetime`オブジェクトは<a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO形式</a>のデータを含む`str`に変換されなければなりません。
    
    同様に、このデータベースはPydanticモデル(属性を持つオブジェクト)を受け取らず、`dict`だけを受け取ります。
    
    そのために`jsonable_encoder`を使用することができます。
    
    Pydanticモデルのようなオブジェクトを受け取り、JSON互換版を返します:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/zh/docs/how-to/configure-swagger-ui.md

    # 配置 Swagger UI
    
    你可以配置一些额外的 <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/" class="external-link" target="_blank">Swagger UI 参数</a>.
    
    如果需要配置它们,可以在创建 `FastAPI()` 应用对象时或调用 `get_swagger_ui_html()` 函数时传递 `swagger_ui_parameters` 参数。
    
    `swagger_ui_parameters` 接受一个直接传递给 Swagger UI的字典,包含配置参数键值对。
    
    FastAPI会将这些配置转换为 **JSON**,使其与 JavaScript 兼容,因为这是 Swagger UI 需要的。
    
    ## 不使用语法高亮
    
    比如,你可以禁用 Swagger UI 中的语法高亮。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

    import java.util.ArrayList;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Pattern;
    
    import org.codelibs.core.lang.StringUtil;
    
    public class RobotsTxt {
        private static final String ALL_BOTS = "*";
    
        protected final Map<Pattern, Directive> directiveMap = new LinkedHashMap<>();
    
        private final List<String> sitemapList = new ArrayList<>();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FessUser;
    import org.lastaflute.web.login.TypicalUserBean;
    
    /**
     * @author jflute
     */
    public class FessUserBean extends TypicalUserBean<String> { // #change_it also LoginAssist
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.taglib.FessFunctions;
    import org.codelibs.fess.util.ComponentUtil;
    
    public abstract class MonitorTarget implements TimeoutTarget {
    
        protected StringBuilder append(final StringBuilder buf, final String key, final Supplier<Object> supplier) {
            final StringBuilder tempBuf = new StringBuilder();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

    import okhttp3.Handshake
    import okhttp3.HttpUrl
    import okhttp3.Protocol
    import okhttp3.Route
    import okhttp3.internal.http.RealInterceptorChain
    
    /**
     * A connection user that is a specific [RealCall].
     */
    internal class CallConnectionUser(
      private val call: RealCall,
      private val poolConnectionListener: ConnectionListener,
      private val chain: RealInterceptorChain,
    ) : ConnectionUser {
      private val eventListener: EventListener
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top