上一页 1 2 3 4 5 6 ··· 44 下一页
摘要: 一个数据格式定义和校验的包 官方文档: Field Types - Pydantic 基本使用test.py # pydantic_test.py from datetime import datetime, date from typing import List, Optional from p 阅读全文
posted @ 2024-06-23 18:47 tslam 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 导模块遇到该问题, 原因你起的py文件名与要导入的模块文件名相同 阅读全文
posted @ 2024-06-23 18:34 tslam 阅读(2) 评论(0) 推荐(0) 编辑
摘要: channels 一般与django的版本是同时发布或稍微延后发布, 在使用 channel时包的版本要跟django对应. 比如 django使用2.2 那么channels也使用2.2 阅读全文
posted @ 2024-06-23 18:00 tslam 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 图 fastapi 一般用Uvicorn 阅读全文
posted @ 2024-06-23 17:30 tslam 阅读(1) 评论(0) 推荐(0) 编辑
摘要: consider setting up the Docker daemon in rootless mode for your user: dockerd-rootless-setuptool.sh install Visit -> https://docs.docker.com/go/rootle 阅读全文
posted @ 2024-06-23 12:01 tslam 阅读(3) 评论(0) 推荐(0) 编辑
摘要: refer to https://docs.docker.com/go/daemon-access/ 阅读全文
posted @ 2024-06-23 11:59 tslam 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 显卡: 主机向显示器发出的显示信号转化为一般电气信号,使得显示器能明白个人计算机在让它做什么 GPU: Graphics Processing Unit, 图形处理器, 是显卡的主要处理单元. CUDA: 厂商NVIDIA推出的一个并行计算平台和编程计算模型,使GPU解决复杂的计算问题 运行cuda 阅读全文
posted @ 2024-06-22 10:49 tslam 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 背景: 因为该文件大, 你传输不方便, 你将一个该镜像压缩包解压后, 传到某个机器上,有压缩为tar, 最后load为镜像失败. 阅读全文
posted @ 2024-06-19 19:53 tslam 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 解决: 在项目git 路径 末尾加 .git 阅读全文
posted @ 2024-06-19 15:48 tslam 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Content-disposition其实可以控制用户请求所得的内容存为一个文件的时候提供一个默认的文件名 阅读全文
posted @ 2024-06-18 09:29 tslam 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 44 下一页