Skip to content

add imports to code examples #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ The following example shows, how you use this framework:
The following example shows the general setup for a test with the Mock:

```
from exasol_udf_mock_python.udf_mock_executor import UDFMockExecutor
from exasol_udf_mock_python.mock_meta_data import MockMetaData
from exasol_udf_mock_python.column import Column
from exasol_udf_mock_python.mock_exa_environment import MockExaEnvironment
from exasol_udf_mock_python.group import Group

def udf_wrapper():

def run(ctx):
Expand Down
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ The following example shows, how you use this framework:
The following example shows the general setup for a test with the Mock:

.. code-block::

from exasol_udf_mock_python.udf_mock_executor import UDFMockExecutor
from exasol_udf_mock_python.mock_meta_data import MockMetaData
from exasol_udf_mock_python.column import Column
from exasol_udf_mock_python.mock_exa_environment import MockExaEnvironment
from exasol_udf_mock_python.group import Group


def udf_wrapper():

def run(ctx):
Expand Down