Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 4,690 for Import (0.03 seconds)

  1. tests/test_tutorial/test_body_updates/test_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body_updates.{request.param}")
    
        client = TestClient(mod.app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    import java.io.File;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * classpath container that is aware of the classpath scope
     *
     *
     */
    @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings;
    
    import java.io.File;
    import java.io.IOException;
    
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
     */
    @Deprecated
    public interface MavenSettingsBuilder {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.inheritance.t01;
    
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue May 27 13:59:13 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.nullaway
    
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import java.io.Closeable
    import java.util.concurrent.ConcurrentHashMap
    
    internal abstract class NullawayStatusService : BuildService<BuildServiceParameters.None>, Closeable {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/Commons.kt

    import jetbrains.buildServer.configs.kotlin.AbsoluteId
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.buildSteps.GradleBuildStep
    
    fun DslContext.initForTest() {
        // Set the project id here, so we can use methods on the DslContext
        parentProjectId = AbsoluteId("Gradle")
        projectId = AbsoluteId("Gradle_Master")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 662 bytes
    - Click Count (0)
  8. docs_src/app_testing/app_b_an_py310/main.py

    from typing import Annotated
    
    from fastapi import FastAPI, Header, HTTPException
    from pydantic import BaseModel
    
    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
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 15 22:31:16 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  9. build-logic-settings/UpdateDevelocityPluginVersion.java

    import java.io.*;
    import java.nio.file.*;
    import java.util.regex.*;
    
    public class UpdateDevelocityPluginVersion {
        public static void main(String[] args) throws IOException {
            if (args.length != 1) {
                System.out.println("Usage: java build-logic-settings/UpdateDevelocityPluginVersion.java <new-version>");
                System.exit(1);
            }
    
            String newVersion = args[0];
            String[] files = {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jan 23 17:40:08 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/api/di/Priority.java

     * under the License.
     */
    package org.apache.maven.api.di;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top