Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jvasquezrojas committed Aug 28, 2024
1 parent 0fd0a62 commit 31698c0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ ENV/
generated_version.py
*coverage.xml
.DS_Store
junit.xml

# Editor specific
.idea/
Expand Down
5 changes: 0 additions & 5 deletions src/snowflake/sqlalchemy/custom_commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
from .parquet_formater import PARQUETFormatter
from .utils import translate_bool

# The __all__ list is used to maintain backward compatibility with previous versions of the package.
# After splitting a large file into a module, __all__ explicitly defines the public API, ensuring
# that existing imports from the original file still work as expected. This approach prevents
# breaking changes by controlling which functions, classes, and variables are exposed when
# the module is imported.
__all__ = [
"AWSBucket",
"AzureContainer",
Expand Down
2 changes: 1 addition & 1 deletion src/snowflake/sqlalchemy/custom_commands/aws_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from sqlalchemy import ClauseElement
from sqlalchemy.sql.elements import ClauseElement

from snowflake.sqlalchemy.compat import string_types

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from sqlalchemy import ClauseElement
from sqlalchemy.sql.elements import ClauseElement

from snowflake.sqlalchemy.compat import string_types

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from sqlalchemy import DDLElement
from sqlalchemy.sql.ddl import DDLElement


class CreateFileFormat(DDLElement):
Expand Down
2 changes: 1 addition & 1 deletion src/snowflake/sqlalchemy/custom_commands/create_stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from sqlalchemy import DDLElement
from sqlalchemy.sql.ddl import DDLElement


class CreateStage(DDLElement):
Expand Down

0 comments on commit 31698c0

Please sign in to comment.