Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of 4,690 for Import (0.08 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    import static java.util.Objects.requireNonNull;
    
    class TransformedArtifactHandler implements ArtifactHandler {
    
        private final String classifier;
    
        private final String extension;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  2. tests/test_local_docs.py

    import inspect
    
    from fastapi.openapi.docs import get_redoc_html, get_swagger_ui_html
    
    
    def test_strings_in_generated_swagger():
        sig = inspect.signature(get_swagger_ui_html)
        swagger_js_url = sig.parameters.get("swagger_js_url").default  # type: ignore
        swagger_css_url = sig.parameters.get("swagger_css_url").default  # type: ignore
        swagger_favicon_url = sig.parameters.get("swagger_favicon_url").default  # type: ignore
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_handling_errors/test_tutorial006.py

    from fastapi.testclient import TestClient
    
    from docs_src.handling_errors.tutorial006_py39 import app
    
    client = TestClient(app)
    
    
    def test_get_validation_error():
        response = client.get("/items/foo")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "type": "int_parsing",
                    "loc": ["path", "item_id"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class UpdateContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Dec 15 07:49:41 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs;
    
    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.file.DirectoryProperty;
    
    /**
     * Configuration for user manual documentation
     */
    public abstract class UserManual {
        /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.7K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryFactory.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import org.apache.maven.artifact.UnknownRepositoryLayoutException;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    
    /**
     */
    @Deprecated
    public interface ArtifactRepositoryFactory {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/resolver/RepositorySystemSessionFactory.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.resolver;
    
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.eclipse.aether.RepositorySystemSession.SessionBuilder;
    
    /**
     * Factory for Resolver session.
     *
     * @since 4.0.0
     */
    public interface RepositorySystemSessionFactory {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. tests/test_params_repr.py

    from typing import Any
    
    from fastapi.params import Body, Cookie, Header, Param, Path, Query
    
    test_data: list[Any] = ["teststr", None, ..., 1, []]
    
    
    def get_user():
        return {}  # pragma: no cover
    
    
    def test_param_repr_str():
        assert repr(Param("teststr")) == "Param(teststr)"
    
    
    def test_param_repr_none():
        assert repr(Param(None)) == "Param(None)"
    
    
    def test_param_repr_ellipsis():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Collection;
    
    import org.apache.maven.api.Event;
    import org.apache.maven.api.EventType;
    import org.apache.maven.api.Listener;
    import org.apache.maven.eventspy.EventSpy;
    import org.apache.maven.execution.ExecutionEvent;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    
    import com.google.inject.Key;
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.scope.WeakMojoExecutionListener;
    import org.apache.maven.plugin.MojoExecutionException;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
Back to Top