Skip to content

Commit 276401c

Browse files
committed
renamed 'constance' to 'constants'
1 parent 69c52fd commit 276401c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/superannotate/lib/infrastructure/services.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from urllib.parse import urljoin
1919

2020
import aiohttp
21-
import lib.core as constance
21+
import lib.core as constants
2222
import requests.packages.urllib3
2323
from lib.core import entities
2424
from lib.core.entities import BaseItemEntity
@@ -81,7 +81,7 @@ def __init__(
8181

8282
@property
8383
def assets_provider_url(self):
84-
if self.api_url != constance.BACKEND_URL:
84+
if self.api_url != constants.BACKEND_URL:
8585
return "https://assets-provider.devsuperannotate.com/api/v1.01/"
8686
return "https://assets-provider.superannotate.com/api/v1.01/"
8787

@@ -655,7 +655,7 @@ def prepare_export(
655655
prepare_export_url = urljoin(self.api_url, self.URL_PREPARE_EXPORT)
656656

657657
annotation_statuses = ",".join(
658-
[str(constance.AnnotationStatus.get_value(i)) for i in annotation_statuses]
658+
[str(constants.AnnotationStatus.get_value(i)) for i in annotation_statuses]
659659
)
660660

661661
data = {

0 commit comments

Comments
 (0)