Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit a8177f1

Browse files
committed
Revert "feat: add picklefile read option with tests"
This reverts commit a30c9ca. Signed-off-by: Tobias Wolf <[email protected]>
1 parent 013c9fb commit a8177f1

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

mock.pickle

-66 Bytes
Binary file not shown.

src/rookify/__main__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- coding: utf-8 -*-
22

3-
from pickle import Unpickler
43
import sys
54
import argparse
65
from argparse import ArgumentParser
@@ -12,13 +11,6 @@
1211
from .yaml import load_config
1312

1413

15-
def load_pickler(pickle_file_name: str) -> Any:
16-
with open(pickle_file_name, "ab+") as pickle_file:
17-
pickle_file.seek(0)
18-
states_data = Unpickler(pickle_file).load()
19-
return states_data
20-
21-
2214
def parse_args(args: list[str]) -> argparse.Namespace:
2315
# Putting args-parser in seperate function to make this testable
2416
arg_parser = ArgumentParser("Rookify")

0 commit comments

Comments
 (0)