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