python versrion upgrade, community type fix
This commit is contained in:
parent
12679808cf
commit
dc2f62d300
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -141,4 +141,5 @@ migration/content/**/*.md
|
|||
|
||||
*.zip
|
||||
*.sqlite3
|
||||
*.rdb
|
||||
.DS_Store
|
|
@ -6,7 +6,7 @@ exclude: |
|
|||
)
|
||||
|
||||
default_language_version:
|
||||
python: python3.8
|
||||
python: python3.9
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.8
|
||||
FROM python:3.9
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.8
|
||||
FROM python:3.9
|
||||
|
||||
EXPOSE 8081
|
||||
|
||||
|
|
2
Pipfile
2
Pipfile
|
@ -10,7 +10,7 @@ starlette = "*"
|
|||
uvicorn = "*"
|
||||
pydantic = "*"
|
||||
passlib = "*"
|
||||
PyJWT = "*"
|
||||
PyJWT = ">=2.4.0"
|
||||
SQLAlchemy = "*"
|
||||
itsdangerous = "*"
|
||||
httpx = ">=0.23.0"
|
||||
|
|
|
@ -41,7 +41,7 @@ http {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 8000;
|
||||
listen localhost:8000;
|
||||
#server_name localhost;
|
||||
#charset koi8-r;
|
||||
# access_log logs/host.access.log main;
|
||||
|
|
|
@ -331,6 +331,8 @@ type Community {
|
|||
name: String!
|
||||
desc: String
|
||||
pic: String!
|
||||
createdAt: DateTime!
|
||||
createdBy: User!
|
||||
}
|
||||
|
||||
type TopicStat {
|
||||
|
|
Loading…
Reference in New Issue
Block a user