Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 7,602 for _class (0.06 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isCancelled());
        assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
        nested.set("foo");
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
        assertEquals("foo", future.get());
      }
    
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
      public void testSetFuture_genericsHierarchy() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed May 11 17:29:02 UTC 2022
    - 455 bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial002_pv1_py310.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class 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
    - 466 bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    import common.Os
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {}
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 558 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    public class AdminRelatedcontentAction extends FessAdminAction {
    
        public static final String ROLE = "admin-relatedcontent";
    
        private static final Logger logger = LogManager.getLogger(AdminRelatedcontentAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    public class AdminBoostdocAction extends FessAdminAction {
    
        public static final String ROLE = "admin-boostdoc";
    
        private static final Logger logger = LogManager.getLogger(AdminBoostdocAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/body.md

    ⏮️ 🖼 ✊ ⏮️ <a href="https://code.visualstudio.com" class="external-link" target="_blank">🎙 🎙 📟</a>.
    
    ✋️ 👆 🔜 🤚 🎏 👨‍🎨 🐕‍🦺 ⏮️ <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">🗒</a> &amp; 🌅 🎏 🐍 👨‍🎨:
    
    <img src="/img/tutorial/body/image05.png">
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    /**
     * @author Max Ross
     */
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
        protected List<Class<? extends AbstractTester>> getTesters() {
          return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. docs/de/docs/help-fastapi.md

    ## FĂźr FastAPI abstimmen
    
    * <a href="https://www.slant.co/options/34241/~fastapi-review" class="external-link" target="_blank">Stimmen Sie fĂźr **FastAPI** auf Slant</a >.
    * <a href="https://alternativeto.net/software/fastapi/about/" class="external-link" target="_blank">Stimmen Sie fĂźr **FastAPI** auf AlternativeTo</a>.
    * <a href="https://stackshare.io/pypi-fastapi" class="external-link" target="_blank">Berichten Sie auf StackShare, dass Sie **FastAPI** verwenden</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheControlTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import kotlin.test.Test
    import kotlin.time.Duration.Companion.seconds
    
    class CacheControlTest {
      @Test
      @Throws(Exception::class)
      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top