From 4eb2c0e123fe44635dd5b59fdb9064f4cf85d7c9 Mon Sep 17 00:00:00 2001 From: Subhajit Ghosh <99127578+subhajit20@users.noreply.github.com> Date: Wed, 27 Sep 2023 04:59:46 +0530 Subject: [PATCH] Renamed apps/CustomApp.py to follow snake case convention (#678) --- embedchain/__init__.py | 2 +- embedchain/apps/Llama2App.py | 2 +- embedchain/apps/{CustomApp.py => custom_app.py} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename embedchain/apps/{CustomApp.py => custom_app.py} (100%) diff --git a/embedchain/__init__.py b/embedchain/__init__.py index 836597eb..a09fe9c3 100644 --- a/embedchain/__init__.py +++ b/embedchain/__init__.py @@ -3,7 +3,7 @@ import importlib.metadata __version__ = importlib.metadata.version(__package__ or __name__) from embedchain.apps.App import App # noqa: F401 -from embedchain.apps.CustomApp import CustomApp # noqa: F401 +from embedchain.apps.custom_app import CustomApp # noqa: F401 from embedchain.apps.Llama2App import Llama2App # noqa: F401 from embedchain.apps.open_source_app import OpenSourceApp # noqa: F401 from embedchain.apps.PersonApp import (PersonApp, # noqa: F401 diff --git a/embedchain/apps/Llama2App.py b/embedchain/apps/Llama2App.py index 2319f573..2ae5a613 100644 --- a/embedchain/apps/Llama2App.py +++ b/embedchain/apps/Llama2App.py @@ -1,6 +1,6 @@ from typing import Optional -from embedchain.apps.CustomApp import CustomApp +from embedchain.apps.custom_app import CustomApp from embedchain.config import CustomAppConfig from embedchain.embedder.openai import OpenAiEmbedder from embedchain.helper.json_serializable import register_deserializable diff --git a/embedchain/apps/CustomApp.py b/embedchain/apps/custom_app.py similarity index 100% rename from embedchain/apps/CustomApp.py rename to embedchain/apps/custom_app.py