mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
31 lines
756 B
Python
31 lines
756 B
Python
from openpype.client.mongo import (
|
|
MongoEnvNotSet,
|
|
OpenPypeMongoConnection,
|
|
)
|
|
|
|
|
|
def get_default_components():
|
|
from openpype.client.mongo import get_default_components
|
|
|
|
return get_default_components()
|
|
|
|
|
|
def should_add_certificate_path_to_mongo_url(mongo_url):
|
|
from openpype.client.mongo import should_add_certificate_path_to_mongo_url
|
|
|
|
return should_add_certificate_path_to_mongo_url(mongo_url)
|
|
|
|
|
|
def validate_mongo_connection(mongo_uri):
|
|
from openpype.client.mongo import validate_mongo_connection
|
|
|
|
return validate_mongo_connection(mongo_uri)
|
|
|
|
|
|
__all__ = (
|
|
"MongoEnvNotSet",
|
|
"OpenPypeMongoConnection",
|
|
"get_default_components",
|
|
"should_add_certificate_path_to_mongo_url",
|
|
"validate_mongo_connection",
|
|
)
|