- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 785 for compat (0.18 sec)
-
fastapi/_compat.py
json_schema["title"] = ( field.field_info.title or field.alias.title().replace("_", " ") ) return json_schema def get_compat_model_name_map(fields: List[ModelField]) -> ModelNameMap: return {} def get_definitions( *, fields: List[ModelField], schema_generator: GenerateJsonSchema,
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
tests/test_compat.py
from typing import List, Union from fastapi import FastAPI, UploadFile from fastapi._compat import ( ModelField, Undefined, _get_model_config, is_bytes_sequence_annotation, is_uploadfile_sequence_annotation, ) from fastapi.testclient import TestClient from pydantic import BaseConfig, BaseModel, ConfigDict from pydantic.fields import FieldInfo from .utils import needs_pydanticv1, needs_pydanticv2
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java
import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.artifact.Artifact; import org.eclipse.aether.resolution.ArtifactDescriptorResult; /** * Detects Maven3 plugins using maven-compat Maven2 compatibility layer. * * @since 3.9.3 */ @Singleton @Named class Maven3CompatDependenciesValidator extends AbstractMavenPluginDependenciesValidator { @Inject
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 07 09:51:56 GMT 2024 - 2.4K bytes - Viewed (0) -
tests/utils.py
import sys import pytest from fastapi._compat import PYDANTIC_V2 needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+") needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 422 bytes - Viewed (0) -
tensorflow/BUILD
TENSORFLOW_API_INIT_FILES_V2 = ( TENSORFLOW_API_INIT_FILES + get_compat_files(TENSORFLOW_API_INIT_FILES, 2) + get_compat_files(TENSORFLOW_API_INIT_FILES_V1, 1) + get_nested_compat_files([ 1, 2, ]) ) TENSORFLOW_API_INIT_FILES_V1 = ( TENSORFLOW_API_INIT_FILES_V1 + get_compat_files(TENSORFLOW_API_INIT_FILES, 2) + get_compat_files(TENSORFLOW_API_INIT_FILES_V1, 1) + get_nested_compat_files([
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (8) -
tensorflow/api_template.__init__.py
else: _module_dir = _module_util.get_parent_dir_for_name("keras.api._v2.keras") _current_module.__path__ = [_module_dir] + _current_module.__path__ # Enable TF2 behaviors from tensorflow.python.compat import v2_compat as _compat _compat.enable_v2_behavior() _major_api_version = 2 # Load all plugin libraries from site-packages/tensorflow-plugins if we are # running under pip.
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java
} } /* * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0) -
cmd/main.go
// Deprecated flag, so its hidden now, existing deployments will keep working. cli.BoolFlag{ Name: "compat", Usage: "enable strict S3 compatibility by turning off certain performance optimizations", Hidden: true, }, // This flag is hidden and to be used only during certain performance testing. cli.BoolFlag{ Name: "no-compat", Usage: "disable strict S3 compatibility by turning on certain performance optimizations", Hidden: true,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 6.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
.collect(Collectors.toList()); } private Map<String, Lifecycle> lookupLifecycles() { // TODO: Remove the following code when maven-compat is gone // This code is here to ensure maven-compat's EmptyLifecycleExecutor keeps on working. if (lookup == null) { return customLifecycles != null ? customLifecycles : new HashMap<>(); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
maven-compat/src/site/apt/index.apt
~~ specific language governing permissions and limitations ~~ under the License. ----- Introduction ----- Hervé Boutemy ----- 2016-05-29 ----- Maven Compat Maven2 classes maintained as compatibility layer for plugins that need to keep Maven2 compatibility. Plugins should avoid these classes and be updated to use only Maven3 dependencies (and require Maven3): see
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Jan 24 22:50:10 GMT 2017 - 1.3K bytes - Viewed (0)