Skip to content

Commit 10023cf

Browse files
VahagnTKAVaghinakDev
authored andcommitted
renamed 'constance' to 'constants'
1 parent 33a9bf6 commit 10023cf

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
@@ -80,7 +80,7 @@ def __init__(
8080

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

@@ -657,7 +657,7 @@ def prepare_export(
657657
prepare_export_url = urljoin(self.api_url, self.URL_PREPARE_EXPORT)
658658

659659
annotation_statuses = ",".join(
660-
[str(constance.AnnotationStatus.get_value(i)) for i in annotation_statuses]
660+
[str(constants.AnnotationStatus.get_value(i)) for i in annotation_statuses]
661661
)
662662

663663
data = {

0 commit comments

Comments
 (0)