Dennis O'Brien

Results 8 comments of Dennis O'Brien

It would be great to have an example of how to build this for Spark 3.x and Tensorflow 2.x I tried a number of combinations with no success. I can...

@itsjafer This looks great. Any chance your changes could be merged back into this project easily?

For reference, this is how the Ruby version does it: https://github.com/wvanbergen/vertica/blob/285875db5bc3209fb3bb5312a8c4bd485ff3eb45/lib/vertica/connection.rb#L382 I don't think that translates easily into a single line with Python.

The unit test failures seem to be caused by `tensorflow` not being included. > E ModuleNotFoundError: No module named 'tensorflow' You should be able to add this to `dev-requirements.in`. I'm...

Within the `workflow` function, everything is a `Promise`. Can you try doing the work within a task? ```python def wf(): file = generate_tf_record_file() tf_record_dataset = get_tf_record_dataset_from_file(file) consume(dataset=tf_record_dataset) ```

Verifying that this is still an issue with `flytekit==1.10.2`. Here's a simple example workflow: ```python from flytekit import task, workflow @task def task_get_a() -> int: return 1 @workflow def my_workflow()...

Returning a tuple of values also causes `pyright` errors. Here's an example workflow and task: ```python from typing import Tuple from flytekit import task, workflow @task def task_get_a_b() -> Tuple[int,...

And one more example using a dataclass: ```python from dataclasses import dataclass from dataclasses_json import DataClassJsonMixin from flytekit import task, workflow @dataclass class MyDataClass(DataClassJsonMixin): a: int b: int @task def...