- Sort Score
- Result 10 results
- Languages All
Results 1231 - 1240 of 2,381 for apps (0.06 sec)
-
docs/zh/docs/tutorial/debugging.md
``` </div> 而当其它文件导入它时并不会被调用,像这样: ```Python from myapp import app ``` #### 更多细节 假设你的文件命名为 `myapp.py`。 如果你这样运行: <div class="termy"> ```console $ python myapp.py ``` </div> 那么文件中由 Python 自动创建的内部变量 `__name__`,会将字符串 `"__main__"` 作为值。 所以,下面这部分代码才会运行: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` --- 如果你是导入这个模块(文件)就不会这样。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
```Dockerfile hl_lines="7" FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9 COPY ./requirements.txt /app/requirements.txt RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt COPY ./app /app/app ``` ### 언제 사용할까
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 42.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.error; import org.codelibs.fess.app.web.base.FessSearchAction; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; public class ErrorNotfoundAction extends FessSearchAction {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/osdd/OsddAction.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.osdd; import org.codelibs.fess.app.web.base.FessSearchAction; import org.lastaflute.web.Execute; import org.lastaflute.web.response.ActionResponse; public class OsddAction extends FessSearchAction {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py
], ) def test(path, cookies, expected_status, expected_response): client = TestClient(app, cookies=cookies) response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response def test_openapi_schema(): client = TestClient(app) response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/SearchBody.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.dataconfig; import org.codelibs.fess.app.web.api.admin.BaseSearchBody; public class SearchBody extends BaseSearchBody { public String name; public String handlerName; public String description;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 879 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/SearchBody.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.relatedquery; import org.codelibs.fess.app.web.api.admin.BaseSearchBody; public class SearchBody extends BaseSearchBody { public String term; public String queries;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 845 bytes - Viewed (0) -
tests/test_security_http_basic_optional.py
from fastapi.testclient import TestClient app = FastAPI() security = HTTPBasic(auto_error=False) @app.get("/users/me") def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)): if credentials is None: return {"msg": "Create an account first"} return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
*/ package org.codelibs.fess.app.web.admin.group; import java.util.Base64; import java.util.Map; import java.util.function.Consumer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.Constants; import org.codelibs.fess.annotation.Secured; import org.codelibs.fess.app.pager.GroupPager; import org.codelibs.fess.app.service.GroupService;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
*/ package org.codelibs.fess.app.web.admin.pathmap; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.Constants; import org.codelibs.fess.annotation.Secured; import org.codelibs.fess.app.pager.PathMapPager; import org.codelibs.fess.app.service.PathMappingService; import org.codelibs.fess.app.web.CrudMode;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13K bytes - Viewed (0)