Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2421 - 2430 of 7,967 for aclass (0.05 sec)

  1. docs_src/app_testing/app_b_py310/main.py

    fake_secret_token = "coneofsilence"
    
    fake_db = {
        "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"},
        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: str | None = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: str = Header()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:44:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt

    import jetbrains.buildServer.configs.kotlin.RelativeId
    import jetbrains.buildServer.configs.kotlin.triggers.VcsTrigger
    import jetbrains.buildServer.configs.kotlin.triggers.vcs
    import model.CIBuildModel
    import model.StageName
    
    class GitHubMergeQueueCheckPass(model: CIBuildModel) : BaseGradleBuildType(init = {
        id("${model.projectId}_GitHubMergeQueueCheckPass")
        uuid = "${DslContext.uuidPrefix}_${model.projectId}_GitHubMergeQueueCheckPass"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 07:23:13 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import groovy.transform.Immutable
    
    @Immutable
    class ApiChange {
        String type
        String member
        List<String> changes
    
        static ApiChange parse(Object json) {
            new ApiChange(json.type, json.member, json.changes ?: [])
        }
    
        String toString() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1023 bytes
    - Viewed (0)
  4. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.modules.model
    
    
    enum class License(val displayName: String) {
        Apache2("Apache 2.0"),
        BSD3("3-Clause BSD"),
        BSDStyle("BSD-style"),
        CDDL("CDDL"),
        EDL("Eclipse Distribution License 1.0"),
        EPL("Eclipse Public License 1.0"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jan 08 10:41:04 UTC 2021
    - 922 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.exception;
    
    public class SuggestSettingsException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        public SuggestSettingsException(final String msg) {
            super(msg);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. docs_src/cookie_param_models/tutorial002_pv1_py310.py

    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        class Config:
            extra = "forbid"
    
        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
    - 347 bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ExecutionError.java

     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ExecutionError extends Error {
      /*
       * Ideally, this class would have exposed only constructors that require a non-null cause. See
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.java.net/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
      private static final class DoNothingRunnable implements Runnable {
        @Override
        public void run() {}
      }
      // The thread executing the task publishes itself to the superclass' reference and the thread
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

     */
    class HpackRoundTripTest : HpackDecodeTestBase() {
      internal class StoriesTestProvider : SimpleProvider() {
        override fun arguments(): List<Any> = createStories(RAW_DATA)
      }
    
      private val bytesOut = Buffer()
      private val hpackWriter = Hpack.Writer(out = bytesOut)
    
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testRoundTrip(story: Story) {
        assumeFalse(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.DeflaterSink
    
    private val EMPTY_DEFLATE_BLOCK = "000000ffff".decodeHex()
    private const val LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION = 4
    
    class MessageDeflater(
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private val deflatedBytes = Buffer()
    
      private val deflater =
        Deflater(
          Deflater.DEFAULT_COMPRESSION,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top