Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,180 for Lain (0.03 seconds)

  1. docs/fr/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Le fichier `main.py` contiendrait :
    
    {* ../../docs_src/async_tests/app_a_py310/main.py *}
    
    Le fichier `test_main.py` contiendrait les tests pour `main.py`, il pourrait maintenant ressembler à ceci :
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

                : Optional.ofNullable(getJavaSourceSets(project).findByName(SourceSet.TEST_SOURCE_SET_NAME));
        }
    
        /**
         * @param project The project to look for main Java resources.
         * @return An Optional that contains the Java main SourceSet if it exists.
         */
        public static Optional<SourceSet> getJavaMainSourceSet(Project project) {
            return isJavaExtensionAvailable(project)
                ? Optional.empty()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  3. android-test-app/src/main/AndroidManifest.xml

            <action android:name="android.intent.action.MAIN" />
    
            <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
        </activity>
    
        <activity
          android:name=".MainActivity2"
          android:process=":activity2"
          android:exported="true">
          <intent-filter>
            <action android:name="android.intent.action.MAIN" />
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 992 bytes
    - Click Count (0)
  4. buildscripts/heal-inconsistent-versions.sh

    		"${PWD}/mc" cat --vid "${vid}" minio/bucket/testobj | md5sum
    	done
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_4drive ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  5. docs/orchestration/docker-compose/nginx.conf

        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
        sendfile        on;
        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Mar 05 06:32:39 GMT 2022
    - 3K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/sereq/admin_sereq.jsp

    		<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    			<jsp:param name="menuCategoryType" value="system" />
    			<jsp:param name="menuType" value="sereq" />
    		</jsp:include>
    		<main class="content-wrapper">
    			<div class="content-header">
    				<div class="container-fluid">
    					<div class="row mb-2">
    						<div class="col-sm-6">
    							<h1>
    								<la:message key="labels.sereq_configuration" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java

     *     <li>{@linkplain Project#getPomArtifact() the project POM artifact}</li>
     *     <li>{@linkplain Project#getMainArtifact() the main artifact}</li>
     *     <li>{@linkplain org.apache.maven.api.services.ProjectManager#attachArtifact(Session, Project, Path) artifacts to be attached to a project}</li>
     * </ul>
     *
     * <p>For the main artifact and attached artifacts, the
     * {@link org.apache.maven.api.services.ArtifactManager ArtifactManager} service must be used
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. docs/zh/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    # (2)!
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. 直接将 `main.py` 复制到 `/code`(没有 `./app` 目录)。
    
    2. 使用 `fastapi run` 来运行单文件 `main.py` 中的应用。
    
    当你把文件传给 `fastapi run` 时,它会自动检测这是一个单文件而不是包,并知道如何导入并服务你的 FastAPI 应用。😎
    
    ## 部署概念 { #deployment-concepts }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  9. docs/tr/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  10. docs/zh/docs/fastapi-cli.md

    │   ├── main.py
    │   ├── __init__.py
    ```
    
    那么你可以将 `entrypoint` 设置为:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    这等价于:
    
    ```python
    from backend.main import app
    ```
    
    ### 带路径的 `fastapi dev` { #fastapi-dev-with-path }
    
    你也可以把文件路径传给 `fastapi dev` 命令,它会猜测要使用的 FastAPI 应用对象:
    
    ```console
    $ fastapi dev main.py
    ```
    
    但每次运行 `fastapi` 命令都需要记得传入正确的路径。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top