摘要:
1.Cookie from typing import Union from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") async def read_items(ads_id: Union[str, None 阅读全文
posted @ 2024-09-26 14:08
lxd670
阅读(56)
评论(0)
推荐(0)
摘要:
响应模型 返回与输入相同的模型 永远不要存储用户的明文密码,也不要在响应中发送密码。 from typing import Union from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI 阅读全文
posted @ 2024-09-26 14:08
lxd670
阅读(36)
评论(0)
推荐(0)
摘要:
1.下载插件 1.1 Python 1.2 Pylance 1.3 Remote-SSH 2.设置本地/远程python解释器 2.1本地设置 2-1-1 设置解释器路径 设置自定义python解释器路径,mac快捷键command + p > python: select interpreter 阅读全文
posted @ 2024-09-26 14:07
lxd670
阅读(4909)
评论(0)
推荐(1)
摘要:
1.配置文件说明 系统级的配置文件 配置文件 描述 /etc/profile 系统级的全局配置文件,在用户登录时由Bash首先读取(如果是登录 shell)。 /etc/profile.d/* 这里面的脚本通常由/etc/profile调用,用于更灵活地进行系统级的环境变量设置和初始化任务等。 /e 阅读全文
posted @ 2024-09-26 14:05
lxd670
阅读(44)
评论(0)
推荐(0)

浙公网安备 33010602011771号