Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 6,364 for classId (0.08 sec)

  1. docs_src/body/tutorial002.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
        item_dict = item.dict()
        if item.tax:
            price_with_tax = item.price + item.tax
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 467 bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial002_an_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 493 bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    import jcifs.dcerpc.ndr.NdrSmall;
    
    
    @SuppressWarnings ( "all" )
    public class lsarpc {
    
        public static String getSyntax () {
            return "12345778-1234-abcd-ef00-0123456789ab:0.0";
        }
    
        public static class LsarQosInfo extends NdrObject {
    
            public int length;
            public short impersonation_level;
            public byte context_mode;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    import jakarta.annotation.PostConstruct;
    
    public class SearchLogHelper {
        private static final Logger logger = LogManager.getLogger(SearchLogHelper.class);
    
        protected long userCheckInterval = 10 * 60 * 1000L;// 10 min
    
        protected int userInfoCacheSize = 10000;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. docs/vi/docs/tutorial/first-steps.md

    ```Python hl_lines="1"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` là một Python class cung cấp tất cả chức năng cho API của bạn.
    
    /// note | "Chi tiết kĩ thuật"
    
    `FastAPI` là một class kế thừa trực tiếp `Starlette`.
    
    Bạn cũng có thể sử dụng tất cả <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> chức năng với `FastAPI`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      }
    
      @Suppress("UNCHECKED_CAST")
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate> {
        return if (certificates.isEmpty()) {
          throw SSLPeerUnverifiedException("peer not authenticated")
        } else {
          certificates as Array<Certificate>
        }
      }
    
      @Throws(
        SSLPeerUnverifiedException::class,
      )
      override fun getPeerCertificateChain(): Array<X509Certificate> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

    import java.util.concurrent.atomic.AtomicInteger;
    
    /**
     * Utility {@link RemovalListener} implementations intended for use in testing.
     *
     * @author mike nonemacher
     */
    @GwtCompatible(emulated = true)
    class TestingRemovalListeners {
    
      /** Returns a new no-op {@code RemovalListener}. */
      static <K, V> NullRemovalListener<K, V> nullRemovalListener() {
        return new NullRemovalListener<>();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

    import jakarta.annotation.Resource;
    
    /**
     * @author ma2tani
     */
    public class AdminDictProtwordsAction extends FessAdminAction {
    
        public static final String ROLE = "admin-dict";
    
        private static final Logger logger = LogManager.getLogger(AdminDictProtwordsAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
     * {@link BeanDesc}はキャッシュされます。 キャッシュをクリアするには{@link DisposableUtil#dispose()}
     * を呼び出してください。
     * </p>
     *
     * @author higa
     * @see BeanDesc
     * @see DisposableUtil
     */
    public abstract class BeanDescFactory {
    
        /** 初期化済みなら{@literal true} */
        private static volatile boolean initialized;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. docs/features/events.md

    Here’s a [sample event listener](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java) that prints each event with a timestamp.
    
    ```java
    class PrintingEventListener extends EventListener {
      private long callStartNanos;
    
      private void printEvent(String name) {
        long nowNanos = System.nanoTime();
        if (name.equals("callStart")) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top