[O] Optimize imports
This commit is contained in:
+1
-5
@@ -1,15 +1,11 @@
|
|||||||
import json
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|
||||||
import demjson as demjson
|
|
||||||
import json5
|
|
||||||
import tweepy
|
import tweepy
|
||||||
from tweepy import API
|
from tweepy import API
|
||||||
from tweepy.models import Status
|
|
||||||
|
|
||||||
from collect.utils import Config, Posting, debug
|
from collect.utils import Config, debug
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
import os
|
|
||||||
|
|
||||||
import json5
|
|
||||||
import tweepy
|
|
||||||
from tweepy.models import Status
|
|
||||||
|
|
||||||
from collect.twitter import tweepy_login, get_user_tweets
|
from collect.twitter import tweepy_login, get_user_tweets
|
||||||
from collect.utils import *
|
from collect.utils import *
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import os
|
|||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
import json5
|
import json5
|
||||||
import tweepy
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
Reference in New Issue
Block a user