- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 427 for enum (0.01 seconds)
-
fastapi/openapi/models.py
from collections.abc import Iterable, Mapping from enum import Enum from typing import Annotated, Any, Callable, Optional, Union from fastapi._compat import with_info_plain_validator_function from fastapi.logger import logger from pydantic import ( AnyUrl, BaseModel, Field, GetJsonSchemaHandler, ) from typing_extensions import Literal, TypedDict from typing_extensions import deprecated as typing_deprecated try:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 15.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
* @author Jared Levy */ @J2ktIncompatible // EnumBimap @GwtCompatible @NullMarked public class EnumBiMapTest extends TestCase { private enum Currency { DOLLAR, FRANC, PESO, POUND, YEN } private enum Country { CANADA, CHILE, JAPAN, SWITZERLAND, UK } @AndroidIncompatible // test-suite buildersCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.9K bytes - Click Count (0) -
docs/ru/docs/tutorial/path-params.md
### Создание класса `Enum` { #create-an-enum-class } Импортируйте `Enum` и создайте подкласс, который наследуется от `str` и `Enum`. Мы наследуемся от `str`, чтобы документация API могла понять, что значения должны быть типа `string` и отображалась правильно.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java
import java.util.ListIterator; import java.util.Set; /** * A method supported by implementations of the {@link Iterator} or {@link ListIterator} interface. * * <p>This enum is GWT compatible. * * @author Chris Povirk */ @GwtCompatible public enum IteratorFeature { /** Support for {@link Iterator#remove()}. */ SUPPORTS_REMOVE, /** * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 03 18:22:43 GMT 2023 - 1.9K bytes - Click Count (0) -
tests/test_tutorial/test_path_params/test_tutorial005.py
def test_get_enums_invalid(): response = client.get("/models/foo") assert response.status_code == 422 assert response.json() == { "detail": [ { "type": "enum", "loc": ["path", "model_name"], "msg": "Input should be 'alexnet', 'resnet' or 'lenet'", "input": "foo", "ctx": {"expected": "'alexnet', 'resnet' or 'lenet'"},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.1K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/GradleModuleApiAttribute.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.basics import org.gradle.api.attributes.Attribute enum class GradleModuleApiAttribute { API, IMPLEMENTATION; companion object { val attribute = Attribute.of(GradleModuleApiAttribute::class.java) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 864 bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
EnumSetAccumulator::toImmutableSet, Collector.Characteristics.UNORDERED); } private static final class EnumSetAccumulator<E extends Enum<E>> { @SuppressWarnings({"rawtypes", "unchecked"}) static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET = (Collector) toImmutableEnumSetGeneric(); private @Nullable EnumSet<E> set; void add(E e) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
docs/de/docs/tutorial/path-params.md
### Eine `Enum`-Klasse erstellen { #create-an-enum-class } Importieren Sie `Enum` und erstellen Sie eine Unterklasse, die von `str` und `Enum` erbt.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.5K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
import warnings from collections import deque from dataclasses import dataclass from datetime import datetime, timezone from decimal import Decimal from enum import Enum from math import isinf, isnan from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import Optional, TypedDict import pytest from fastapi._compat import Undefined from fastapi.encoders import jsonable_encoder
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AnEnum.java
package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A sample enumerated type we use for testing. * * @author Kevin Bourrillion */ @GwtCompatible public enum AnEnum { A, B, C, D, E, FCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 854 bytes - Click Count (0)