Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3811 - 3820 of 7,594 for isclass (0.1 sec)

  1. docs_src/request_form_models/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 268 bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial008.py

    from typing import List
    
    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    @app.post("/images/multiple/")
    async def create_multiple_images(images: List[Image]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 12 19:41:44 UTC 2020
    - 273 bytes
    - Viewed (0)
  3. docs_src/cookie_param_models/tutorial001_py310.py

    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 303 bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    import okhttp3.Callback
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.stripBody
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource(
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource, ServerSentEventReader.Callback, Callback {
      private var call: Call? = null
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.pager;
    
    import java.io.Serializable;
    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    public class FileConfigPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    public class LabelTypeService extends FessAppService {
    
        @Resource
        protected LabelTypeBhv labelTypeBhv;
    
        @Resource
        protected FessConfig fessConfig;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

    import org.codelibs.fess.helper.PluginHelper.Artifact;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    public class ApiAdminPluginAction extends FessApiAdminAction {
    
        // GET /api/admin/plugin/installed
        @Execute
        public JsonResponse<ApiResult> get$installed() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.BeforeEach;
    
    import io.restassured.path.json.JsonPath;
    
    public abstract class DictCrudTestBase extends CrudTestBase {
        protected String dictId;
    
        abstract protected String getDictType();
    
        private static final String LIST_ENDPOINT_SUFFIX = "settings";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.MethodSource
    
    class AndroidSocketAdapterTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @BeforeEach
      fun setUp() {
        platform.assumeConscrypt()
      }
    
      val context: SSLContext by lazy {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayIterator.java

     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T>
     *            配列の要素の型
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
        /** イテレートする要素の配列 */
        protected final T[] items;
    
        /** 現在参照している要素のインデックス */
        protected int index = 0;
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top