Skip to content

Commit

Permalink
Updated implementation of “overwrite_files” mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pvieito committed Jan 17, 2025
1 parent 2f31d7d commit 83d7683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awswrangler/s3/_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import uuid
from abc import ABC, abstractmethod
from enum import Enum
from typing import TYPE_CHECKING, Any, Callable, NamedTuple, Tuple
from typing import TYPE_CHECKING, Any, Callable, NamedTuple

import boto3
import pandas as pd
Expand Down Expand Up @@ -35,7 +35,7 @@
}


def _compose_filename_prefix_for_mode(*, mode: str, filename_prefix: str = None) -> Tuple[str, str]:
def _compose_filename_prefix_for_mode(*, mode: str, filename_prefix: str = None) -> tuple[str, str]:
if mode == "overwrite_files":
if filename_prefix is None:
filename_prefix = "part"
Expand Down

0 comments on commit 83d7683

Please sign in to comment.