* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* refactor(chalice): upgraded dependencies
refactor(crons): upgraded dependencies
refactor(alerts): upgraded dependencies

* feat(chalice): get top 10 values for autocomplete CH

* refactor(chalice): cleaned code
refactor(chalice): upgraded dependencies
refactor(alerts): upgraded dependencies
refactor(crons): upgraded dependencies

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* refactor(chalice): ignore admin privilege and role for Spot-scope
refactor(chalice): upgraded dependencies
refactor(alerts): upgraded dependencies
refactor(crons): upgraded dependencies
This commit is contained in:
Kraiem Taha Yassine 2024-08-09 13:06:30 +02:00 committed by GitHub
parent 3e6a1e5468
commit 29bb1638a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 23 additions and 23 deletions

View file

@ -1,8 +1,8 @@
# Keep this version to not have conflicts between requests and boto3
urllib3==1.26.16
requests==2.32.3
boto3==1.34.151
pyjwt==2.8.0
boto3==1.34.157
pyjwt==2.9.0
psycopg2-binary==2.9.9
psycopg[pool,binary]==3.2.1
elasticsearch==8.14.0
@ -10,7 +10,7 @@ jira==3.8.0
fastapi==0.111.1
fastapi==0.112.0
uvicorn[standard]==0.30.3
python-decouple==3.8
pydantic[email]==2.3.0

View file

@ -1,8 +1,8 @@
# Keep this version to not have conflicts between requests and boto3
urllib3==1.26.16
requests==2.32.3
boto3==1.34.151
pyjwt==2.8.0
boto3==1.34.157
pyjwt==2.9.0
psycopg2-binary==2.9.9
psycopg[pool,binary]==3.2.1
elasticsearch==8.14.0
@ -11,7 +11,7 @@ cachetools==5.4.0
fastapi==0.111.1
fastapi==0.112.0
uvicorn[standard]==0.30.3
python-decouple==3.8
pydantic[email]==2.3.0

View file

@ -218,7 +218,7 @@ class CreateMemberSchema(BaseModel):
user_id: Optional[int] = Field(default=None)
name: str = Field(...)
email: EmailStr = Field(...)
admin: bool = Field(default=False)
admin: Optional[bool] = Field(default=False)
_transform_email = field_validator('email', mode='before')(transform_email)
_transform_name = field_validator('name', mode='before')(remove_whitespace)

View file

@ -1,8 +1,8 @@
# Keep this version to not have conflicts between requests and boto3
urllib3==1.26.16
requests==2.32.3
boto3==1.34.151
pyjwt==2.8.0
boto3==1.34.157
pyjwt==2.9.0
psycopg2-binary==2.9.9
psycopg[pool,binary]==3.2.1
elasticsearch==8.14.0
@ -10,11 +10,11 @@ jira==3.8.0
fastapi==0.111.1
uvicorn[standard]==0.30.3
fastapi==0.112.0
uvicorn[standard]==0.30.5
python-decouple==3.8
pydantic[email]==2.3.0
apscheduler==3.10.4
clickhouse-driver[lz4]==0.2.8
azure-storage-blob==12.21.0
azure-storage-blob==12.22.0

View file

@ -1,8 +1,8 @@
# Keep this version to not have conflicts between requests and boto3
urllib3==1.26.16
requests==2.32.3
boto3==1.34.151
pyjwt==2.8.0
boto3==1.34.157
pyjwt==2.9.0
psycopg2-binary==2.9.9
psycopg[pool,binary]==3.2.1
elasticsearch==8.14.0
@ -10,11 +10,11 @@ jira==3.8.0
fastapi==0.111.1
fastapi==0.112.0
python-decouple==3.8
pydantic[email]==2.3.0
apscheduler==3.10.4
clickhouse-driver[lz4]==0.2.8
redis==5.1.0b6
azure-storage-blob==12.21.0
azure-storage-blob==12.22.0

View file

@ -1,8 +1,8 @@
# Keep this version to not have conflicts between requests and boto3
urllib3==1.26.16
requests==2.32.3
boto3==1.34.151
pyjwt==2.8.0
boto3==1.34.157
pyjwt==2.9.0
psycopg2-binary==2.9.9
psycopg[pool,binary]==3.2.1
elasticsearch==8.14.0
@ -11,8 +11,8 @@ cachetools==5.4.0
fastapi==0.111.1
uvicorn[standard]==0.30.3
fastapi==0.112.0
uvicorn[standard]==0.30.5
gunicorn==22.0.0
python-decouple==3.8
pydantic[email]==2.3.0
@ -25,4 +25,4 @@ python3-saml==1.16.0 --no-binary=lxml
redis==5.1.0b6
#confluent-kafka==2.1.0
azure-storage-blob==12.21.0
azure-storage-blob==12.22.0

View file

@ -74,13 +74,13 @@ class GetInsightsSchema(schemas._TimedSchema):
class CreateMemberSchema(schemas.CreateMemberSchema):
roleId: Optional[int] = Field(None)
roleId: Optional[int] = Field(default=None)
class EditMemberSchema(BaseModel):
name: str = Field(...)
email: EmailStr = Field(...)
admin: bool = Field(False)
admin: bool = Field(default=False)
roleId: int = Field(...)