Merge pull request #1318 from makeplane/uat

release: v24.10.02-1
This commit is contained in:
sriram veeraghanta
2024-10-02 13:41:23 +05:30
committed by GitHub
4 changed files with 6 additions and 2 deletions

1
apiserver/README.md Normal file
View File

@@ -0,0 +1 @@
# API SERVER

View File

@@ -2,6 +2,8 @@
from django.contrib.auth import get_user
from typing import Any, Dict, Optional
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
# Third-Party Imports
from asgiref.sync import sync_to_async
@@ -12,6 +14,7 @@ from strawberry.types import ExecutionResult
from strawberry.types.execution import ExecutionContext
@method_decorator(csrf_exempt, name="dispatch")
class CustomGraphQLView(AsyncGraphQLView):
async def get_context(self, request, response):
# Get the user

View File

@@ -69,4 +69,4 @@ python3-saml==1.16.0
# feature flag
openfeature-sdk==0.7.0
# graphql
strawberry-graphql-django==0.47.2
strawberry-graphql-django==0.48.0

View File

@@ -1 +1 @@
python-3.12.7
python-3.12.6