Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 1,627 for modes (0.01 seconds)

  1. docs_src/background_tasks/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI
    
    app = FastAPI()
    
    
    def write_log(message: str):
        with open("log.txt", mode="a") as log:
            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: str | None = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 683 bytes
    - Click Count (0)
  2. docs_src/background_tasks/tutorial002_py39.py

    from typing import Union
    
    from fastapi import BackgroundTasks, Depends, FastAPI
    
    app = FastAPI()
    
    
    def write_log(message: str):
        with open("log.txt", mode="a") as log:
            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 675 bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/artifact/ArtifactWithDependencies.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.artifact;
    
    import java.util.List;
    
    import org.apache.maven.model.Dependency;
    
    /**
     * ArtifactWithDependencies
     */
    public interface ArtifactWithDependencies {
    
        List<Dependency> getDependencies();
    
        List<Dependency> getManagedDependencies();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.profiles.activation;
    
    import org.apache.maven.model.Profile;
    
    /**
     * ProfileActivator
     */
    @Deprecated
    public interface ProfileActivator {
    
        String ROLE = ProfileActivator.class.getName();
    
        boolean canDetermineActivation(Profile profile);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocCommentBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.ClassDoc;
    
    public class ClassDocCommentBuilder {
        private final JavadocConverter javadocConverter;
        private final GenerationListener listener;
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.2K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/EnumConstantMetaData.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.source.model;
    
    import java.io.Serializable;
    
    public class EnumConstantMetaData extends AbstractLanguageElement implements Serializable {
        private final String name;
        private final ClassMetaData ownerClass;
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.2K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/site/apt/index.apt.vm

       * <<<.mvn/extensions.xml>>> containing {{{./core-extensions.html}a list of extensions}},
    
     * since 3.5.0, output is colorized by default, with color disabled in batch mode: see
       {{{/shared/maven-shared-utils/apidocs/org/apache/maven/shared/utils/logging/package-summary.html}styled message API}}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top