Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 862 for Main (0.06 sec)

  1. docs/em/docs/advanced/websockets.md

    ## โŒ› ๐Ÿ“ง & ๐Ÿ“จ ๐Ÿ“ง
    
    ๐Ÿ‘† *๏ธโƒฃ ๐Ÿ›ฃ ๐Ÿ‘† ๐Ÿ’ช `await` ๐Ÿ“ง & ๐Ÿ“จ ๐Ÿ“ง.
    
    ```Python hl_lines="48-52"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“จ & ๐Ÿ“จ ๐Ÿ’ฑ, โœ, & ๐ŸŽป ๐Ÿ’ฝ.
    
    ## ๐Ÿ”„ โšซ๏ธ
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“ ๐Ÿ“› `main.py`, ๐Ÿƒ ๐Ÿ‘† ๐Ÿˆธ โฎ๏ธ:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. docs_src/settings/app02_an/test_main.py

    from fastapi.testclient import TestClient
    
    from .config import Settings
    from .main import app, get_settings
    
    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 515 bytes
    - Viewed (0)
  3. docs_src/settings/app02_an_py39/test_main.py

    from fastapi.testclient import TestClient
    
    from .config import Settings
    from .main import app, get_settings
    
    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 515 bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/sql-databases.md

    ## ๐Ÿ‘‘ **FastAPI** ๐Ÿ“ฑ
    
    &amp; ๐Ÿ”œ ๐Ÿ“ `sql_app/main.py` โžก๏ธ ๐Ÿ› ๏ธ &amp; โš™๏ธ ๐ŸŒ ๐ŸŽ ๐Ÿ• ๐Ÿ‘ฅ โœ โญ.
    
    ### โœ ๐Ÿ’ฝ ๐Ÿ“
    
    ๐Ÿ“ถ ๐Ÿ™ƒ ๐ŸŒŒ โœ ๐Ÿ’ฝ ๐Ÿ“:
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ &amp; ๐Ÿ”›
    
    ```Python hl_lines="9"
    {!> ../../docs_src/sql_databases/sql_app/main.py!}
    ```
    
    ////
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.9๏ธโƒฃ &amp; ๐Ÿ”›
    
    ```Python hl_lines="7"
    {!> ../../docs_src/sql_databases/sql_app_py39/main.py!}
    ```
    
    ////
    
    #### โš— ๐Ÿ—’
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. src/main/resources/fess_env.properties

    #                                                     ------
    # Does it send mock mail? (true: no send actually, logging only)
    mail.send.mock = true
    
    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = [Test]
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Aug 07 04:53:24 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/orig/view/error/badRequest.jsp

    	rel="stylesheet" type="text/css" />
    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.request_error_title" />
    			</h2>
    			<div class="errormessage"><la:message key="labels.bad_request" /></div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/error/notFound.jsp

    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.page_not_found_title" />
    			</h2>
    			<div>
    				<la:message key="labels.check_url" />
    				<br /> ${f:h(url)}
    			</div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/error/system.jsp

    	rel="stylesheet" type="text/css" />
    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.system_error_title" />
    			</h2>
    			<div class="errormessage"><la:message key="labels.contact_site_admin" /></div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. docs/auditlog/auditlog-echo.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. docs/pl/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note
    
    Polecenie `uvicorn main:app` odnosi siฤ™ do:
    
    * `main`: plik `main.py` ("moduล‚" Python).
    * `app`: obiekt utworzony w pliku `main.py` w lini `app = FastAPI()`.
    * `--reload`: sprawia, ลผe serwer uruchamia siฤ™ ponownie po zmianie kodu. Uลผywany tylko w trakcie tworzenia oprogramowania.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top