Skip to content

Commit 60dd7a1

Browse files
committed
removed dill
1 parent 71d4ec1 commit 60dd7a1

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

exasol_udf_mock_python/mock_meta_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import re
2-
import dill
32
import textwrap
43
from typing import List
54
from exasol_udf_mock_python.column import Column
5+
from inspect import getsource
66

77

88
class MockMetaData:
@@ -64,7 +64,7 @@ def __init__(
6464
self._is_variadic_input = is_variadic_input
6565

6666
def _extract_script_code(self, script_code_wrapper_function):
67-
function_code = textwrap.dedent(dill.source.getsource(script_code_wrapper_function))
67+
function_code = textwrap.dedent(getsource(script_code_wrapper_function))
6868
function_name = script_code_wrapper_function.__name__
6969
starts_with_pattern = r"^def[ \t]+" + function_name + r"[ \t]*\([ \t]*\)[ \t]*:[ \t]*\n"
7070
match = re.match(starts_with_pattern, function_code)

poetry.lock

Lines changed: 1 addition & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ keywords = ['exasol', 'udf', 'mock', 'testing']
2020
python = "^3.10"
2121
pandas = "^2.2.3"
2222
numpy = ">=1.26.4,<2"
23-
dill = ">=0.3.6"
2423

2524
[tool.poetry.dev-dependencies]
2625
pytest = "^8.2.2"

0 commit comments

Comments
 (0)