Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 3,253 for classof (0.14 sec)

  1. docs_src/request_form_models/tutorial002_pv1.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
    
        class Config:
            extra = "forbid"
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 272 bytes
    - Viewed (0)
  2. docs/en/docs/advanced/generate-clients.md

    * <a href="https://speakeasy.com/?utm_source=fastapi+repo&utm_medium=github+sponsorship" class="external-link" target="_blank">Speakeasy</a>
    * <a href="https://www.stainlessapi.com/?utm_source=fastapi&utm_medium=referral" class="external-link" target="_blank">Stainless</a>
    * <a href="https://developers.liblab.com/tutorials/sdk-for-fastapi/?utm_source=fastapi" class="external-link" target="_blank">liblab</a>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

        private final List<MyToken> synonyms;
    
        private final CharTermAttribute termAttr = addAttribute(CharTermAttribute.class);
    
        private final OffsetAttribute offsetAttr = addAttribute(OffsetAttribute.class);
    
        private final PositionIncrementAttribute posIncAttr = addAttribute(PositionIncrementAttribute.class);
    
        protected NGramSynonymTokenizer(final int n, final String delimiters, final boolean expand, final boolean ignoreCase,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.send.hook.SMailCallbackContext;
    import org.lastaflute.core.mail.Postbox;
    
    public class PingSearchEngineJob {
    
        private static final Logger logger = LogManager.getLogger(PingSearchEngineJob.class);
    
        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

         */
        fun onFailure(
          hostname: String,
          e: IOException,
        )
      }
    
      /**
       * Class of DNS addresses, such that clients that treat these differently, such
       * as attempting IPv6 first, can make such decisions.
       */
      @ExperimentalOkHttpApi
      enum class DnsClass(val type: Int) {
        IPV4(TYPE_A),
        IPV6(TYPE_AAAA),
      }
    
      @ExperimentalOkHttpApi
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

              @FromJson fun byteStringFromJson(json: String) = json.decodeHex()
            },
          )
          .add(KotlinJsonAdapterFactory())
          .build()
      private val STORY_JSON_ADAPTER = MOSHI.adapter(Story::class.java)
    
      private val fileSystem = FileSystem.SYSTEM
    
      private fun readStory(source: BufferedSource): Story {
        return STORY_JSON_ADAPTER.fromJson(source)!!
      }
    
      private fun readStory(file: Path): Story {
    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. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetFirst() {
        assertThrows(NoSuchElementException.class, () -> sortedSet.first());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetLast() {
        assertThrows(NoSuchElementException.class, () -> sortedSet.last());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetFirst() {
        assertEquals(a, sortedSet.first());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    но не вызывался, когда другой файл импортирует это, например:
    
    ```Python
    from myapp import app
    ```
    
    #### Больше деталей
    
    Давайте назовём ваш файл `myapp.py`.
    
    Если вы запустите его с помощью:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/resources/fess_cors.xml

    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="corsHandlerFactory" class="org.codelibs.fess.cors.CorsHandlerFactory">
    	</component>
    
    	<component name="defaultCorsHandler" class="org.codelibs.fess.cors.DefaultCorsHandler">
    	</component>
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 04 05:16:45 UTC 2023
    - 378 bytes
    - Viewed (0)
  10. docs_src/response_model/tutorial003_01.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 349 bytes
    - Viewed (0)
Back to top