Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 7,602 for _class (0.06 sec)

  1. docs_src/header_param_models/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: str | None = None
        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: Annotated[CommonHeaders, Header()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 432 bytes
    - Viewed (0)
  2. docs_src/header_param_models/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 430 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CurlHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.ResourceUtil;
    
    import jakarta.annotation.PostConstruct;
    
    public class CurlHelper {
        private static final Logger logger = LogManager.getLogger(CurlHelper.class);
    
        private SSLSocketFactory sslSocketFactory;
    
        private NodeManager nodeManager;
    
        @PostConstruct
        public void init() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

    import okhttp3.RequestBody
    import okio.Buffer
    
    class MainTest {
      @Test
      fun simple() {
        val request = fromArgs("http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body).isNull()
      }
    
      @Test
      @Throws(IOException::class)
      fun put() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

    import org.codelibs.opensearch.runner.net.OpenSearchCurl;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.PostConstruct;
    
    public class DictionaryManager {
        private static final Logger logger = LogManager.getLogger(DictionaryManager.class);
    
        protected List<DictionaryCreator> creatorList = new ArrayList<>();
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsScheduledJobCB.java

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

    import org.dbflute.cbean.ConditionQuery;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class BsWebAuthenticationCB extends EsAbstractConditionBean {
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

    import jcifs.internal.smb1.trans2.Trans2FindFirst2Response;
    import jcifs.internal.smb1.trans2.Trans2FindNext2;
    
    
    class DirFileEntryEnumIterator1 extends DirFileEntryEnumIteratorBase {
    
        private static final Logger log = LoggerFactory.getLogger(DirFileEntryEnumIterator1.class);
        private static final int FIND_OVERHEAD = 100; // plenty enough
    
        private Trans2FindNext2 nextRequest;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.IOException;
    
    /**
    Do not use this class. Writing to the OutputStream of this type of socket
    requires leaving a 4 byte prefix for the NBT header. IOW you must call
    write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
     */
    
    public class NbtSocket extends Socket {
    
        private static final int SSN_SRVC_PORT = 139;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

    import org.codehaus.plexus.interpolation.BasicInterpolator;
    import org.codehaus.plexus.interpolation.InterpolationException;
    
    import static org.apache.maven.cling.invoker.Utils.createInterpolator;
    
    public class CommonsCliEncryptOptions extends CommonsCliOptions implements EncryptOptions {
        public static CommonsCliEncryptOptions parse(String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top