Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 242 for get_id (0.04 seconds)

  1. tests/test_tutorial/test_websockets/test_tutorial003.py

    import importlib
    from types import ModuleType
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial003_py39"),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.websockets.{request.param}")
    
        return mod
    
    
    @pytest.fixture(name="html")
    def get_html(mod: ModuleType):
        return mod.html
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_cookie_params/test_tutorial001.py

        params=[
            "tutorial001_py39",
            pytest.param("tutorial001_py310", marks=needs_py310),
            "tutorial001_an_py39",
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.cookie_params.{request.param}")
    
        return mod
    
    
    @pytest.mark.parametrize(
        "path,cookies,expected_status,expected_response",
        [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                    String message = artifact.getArtifactId() + ": resolved to version " + version;
                    if (artifact.getRepository() != null) {
                        message += " from repository " + artifact.getRepository().getId();
                    } else {
                        message += " from local repository";
                    }
                    getLogger().debug(message);
                } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

            for (Iterator<ProjectSegment> it = projectBuilds.iterator(); it.hasNext(); ) {
                ProjectSegment projectBuild = it.next();
    
                logger.debug("Project: " + projectBuild.getProject().getId());
                logger.debug("Tasks:   " + projectBuild.getTaskSegment().getTasks());
                logger.debug("Style:   " + (projectBuild.getTaskSegment().isAggregating() ? "Aggregating" : "Regular"));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata(artifact);
    
            getLogger().info("Retrieving previous build number from " + remoteRepository.getId());
            repositoryMetadataManager.resolveAlways(metadata, localRepository, remoteRepository);
    
            int buildNumber = 0;
            Metadata repoMetadata = metadata.getMetadata();
            if ((repoMetadata != null)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

                } catch (InvalidVersionSpecificationException e) {
                    throw new InvalidDependencyVersionException(project.getId(), d, project.getFile(), e);
                }
    
                if (dependencyArtifact != null) {
                    artifacts.add(dependencyArtifact);
                }
            }
    
            return artifacts;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        private MavenProject topLevelProject;
    
        private ProjectDependencyGraph projectDependencyGraph;
    
        private boolean parallel;
    
        /**
         * Plugin context keyed by project ({@link MavenProject#getId()}) and by plugin lookup key
         * ({@link PluginDescriptor#getPluginLookupKey()}). Plugin contexts itself are mappings of {@link String} keys to
         * {@link Object} values.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial008c_py39"),
            pytest.param("tutorial008c_an_py39"),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        return mod
    
    
    def test_get_no_item(mod: ModuleType):
        client = TestClient(mod.app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. tensorflow/c/eager/abstract_context.h

      enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler };
      explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {}
      virtual ~AbstractContext() {}
    
     public:
      AbstractContextKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

    public interface Artifact {
        /**
         * {@return a unique identifier for this artifact}.
         * The identifier is composed of groupId, artifactId, extension, classifier, and version.
         *
         * @see ArtifactCoordinates#getId()
         */
        @Nonnull
        default String key() {
            String c = getClassifier();
            return getGroupId()
                    + ':'
                    + getArtifactId()
                    + ':'
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top