Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 1,935 for App (0.16 sec)

  1. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.thumbnail;
    
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.util.Map;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.app.web.base.FessSearchAction;
    import org.codelibs.fess.util.DocumentUtil;
    import org.lastaflute.web.Execute;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. fastapi/background.py

        ## Example
    
        ```python
        from fastapi import BackgroundTasks, FastAPI
    
        app = FastAPI()
    
    
        def write_notification(email: str, message=""):
            with open("log.txt", mode="w") as email_file:
                content = f"notification for {email}: {message}"
                email_file.write(content)
    
    
        @app.post("/send-notification/{email}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. docs_src/app_testing/app_b_an_py310/test_main.py

    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs_src/app_testing/app_b_py39/test_main.py

    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_path_params/test_tutorial004.py

    from fastapi.testclient import TestClient
    
    from docs_src.path_params.tutorial004_py39 import app
    
    client = TestClient(app)
    
    
    def test_file_path():
        response = client.get("/files/home/johndoe/myfile.txt")
        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == {"file_path": "home/johndoe/myfile.txt"}
    
    
    def test_root_file_path():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.service;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.ProtwordsPager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    import org.codelibs.fess.dict.DictionaryManager;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. docs/zh-hant/docs/tutorial/index.md

     ╰──────────────────────╯
    
    <font color="#3465A4">INFO    </font> Importing module <font color="#4E9A06">main</font>
    <font color="#3465A4">INFO    </font> Found importable FastAPI app
    
     ╭─ <font color="#8AE234"><b>Importable FastAPI app</b></font> ─╮
     │                          │
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 17 21:16:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.6.tgz

    "RollingUpdate" }} rollingUpdate: maxSurge: {{ .Values.DeploymentUpdate.maxSurge }} maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }} {{- end}} replicas: 1 selector: matchLabels: app: {{ template "minio.name" . }} release: {{ .Release.Name }} template: metadata: name: {{ template "minio.fullname" . }} labels: app: {{ template "minio.name" . }} release: {{ .Release.Name }} {{- if .Values.podLabels }} {{ toYaml .Values.podLabels | indent 8 }} {{- end }} annotations: {{- if not .Values.ignoreChartChecksums...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 13 06:53:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. docs/lambda/README.md

    Install the necessary dependencies.
    ```sh
    pip install flask requests
    ```
    
    Following is an example lambda handler.
    ```py
    from flask import Flask, request, abort, make_response
    import requests
    
    app = Flask(__name__)
    @app.route('/', methods=['POST'])
    def get_webhook():
    	if request.method == 'POST':
    		# obtain the request event from the 'POST' call
    		event = request.json
    
    		object_context = event["getObjectContext"]
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

    import org.codelibs.fess.annotation.Secured;
    import org.codelibs.fess.app.pager.StemmerOverridePager;
    import org.codelibs.fess.app.service.StemmerOverrideService;
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.admin.dict.AdminDictAction;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.app.web.base.FessBaseAction;
    import org.codelibs.fess.dict.stemmeroverride.StemmerOverrideItem;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top