Skip to content

Commit

Permalink
⚰️ Remove dead resources function _load_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Baharis committed Dec 10, 2024
1 parent b6b17d6 commit de35f29
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hikari/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
from importlib.resources import open_text, open_binary


def _load_bytes(resource_name: str) -> bytes:
with open_binary(__name__, resource_name) as f:
return f.read()


def _load_indexed_csv(resource_name: str) -> pd.DataFrame:
with open_text(__name__, resource_name, encoding='utf-8') as f:
s = io.StringIO(f.read())
Expand Down

0 comments on commit de35f29

Please sign in to comment.