dev: remove unused imports

This commit is contained in:
pablohashescobar 2024-03-21 14:10:22 +05:30
parent 4e88854d46
commit 4165111ce1
7 changed files with 4 additions and 14 deletions

View File

@ -1,7 +1,5 @@
from rest_framework import serializers
from plane.settings.storage import S3PrivateBucketStorage
class BaseSerializer(serializers.ModelSerializer):
id = serializers.PrimaryKeyRelatedField(read_only=True)

View File

@ -1,11 +1,10 @@
# Python imports
import boto3
import json
from botocore.exceptions import ClientError
from django.conf import settings
# Django imports
from django.core.management import BaseCommand
from django.conf import settings
class Command(BaseCommand):
@ -21,9 +20,7 @@ class Command(BaseCommand):
)
except ClientError as e:
self.stdout.write(
self.style.ERROR(
f"Error removing public access policy: {e}"
)
self.style.ERROR(f"Error removing public access policy: {e}")
)
def handle(self, *args, **options):

View File

@ -1,5 +1,4 @@
# Generated by Django 4.2.7 on 2024-01-31 13:34
import uuid
from django.db import migrations, models
from django.conf import settings
import django.db.models

View File

@ -1,8 +1,7 @@
# Generated by Django 4.2.7 on 2024-02-02 07:23
from django.db import migrations, models
from django.db import migrations
from django.conf import settings
import django.db.models.deletion
# Third party imports
from bs4 import BeautifulSoup

View File

@ -1,7 +1,6 @@
# Generated by Django 4.2.7 on 2024-02-05 06:42
from django.db import migrations, models
import django.db.models.deletion
from django.db import migrations
def create_attachment_assets(apps, schema_editor):

View File

@ -2,7 +2,6 @@
from uuid import uuid4
# Django imports
from django.contrib.postgres.fields import ArrayField
from django.db import models
from django.conf import settings
from django.db.models.signals import post_save

View File

@ -22,7 +22,6 @@ from plane.db.models import (
CycleIssue,
ModuleIssue,
IssueLink,
FileAsset,
IssueReaction,
CommentReaction,
IssueVote,