[Bug fix] Fix typos, static methods and other sanity improvements in the package (#1129)
This commit is contained in:
@@ -69,7 +69,8 @@ class TestTextChunker:
|
||||
|
||||
|
||||
class MockLoader:
|
||||
def load_data(self, src):
|
||||
@staticmethod
|
||||
def load_data(src) -> dict:
|
||||
"""
|
||||
Mock loader that returns a list of data dictionaries.
|
||||
Adjust this method to return different data for testing.
|
||||
|
||||
Reference in New Issue
Block a user