🔧 chore(service.py): reorder imports to follow PEP8 guidelines
🔧 chore(service.py): remove duplicate import of logger from loguru module 🔧 chore(service.py): add "private" field to the list of fields to retrieve from the store API
This commit is contained in:
parent
e3797bae8d
commit
586f1d5f8f
1 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ from uuid import UUID
|
||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
from httpx import HTTPError, HTTPStatusError
|
from httpx import HTTPError, HTTPStatusError
|
||||||
|
from loguru import logger
|
||||||
|
|
||||||
from langflow.services.base import Service
|
from langflow.services.base import Service
|
||||||
from langflow.services.store.exceptions import APIKeyError, FilterError, ForbiddenError
|
from langflow.services.store.exceptions import APIKeyError, FilterError, ForbiddenError
|
||||||
from langflow.services.store.schema import (
|
from langflow.services.store.schema import (
|
||||||
|
|
@ -18,7 +20,6 @@ from langflow.services.store.utils import (
|
||||||
process_tags_for_post,
|
process_tags_for_post,
|
||||||
update_components_with_user_data,
|
update_components_with_user_data,
|
||||||
)
|
)
|
||||||
from loguru import logger
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from langflow.services.settings.service import SettingsService
|
from langflow.services.settings.service import SettingsService
|
||||||
|
|
@ -73,6 +74,7 @@ class StoreService(Service):
|
||||||
"count(downloads)",
|
"count(downloads)",
|
||||||
"metadata",
|
"metadata",
|
||||||
"last_tested_version",
|
"last_tested_version",
|
||||||
|
"private",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Create a context manager that will use the api key to
|
# Create a context manager that will use the api key to
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue