https://github.com/stitchfix/hamilton logo
Join Slack
Powered by
# ask-ai
  • s

    Stefan Krawczyk

    05/07/2024, 9:19 PM
    set the channel description: This is an channel backed by a bot. Ask it questions about Hamilton!
  • s

    Stefan Krawczyk

    05/07/2024, 9:19 PM
    What is the Hamilton UI?
    t
    • 2
    • 2
  • t

    Thierry Jean

    05/07/2024, 10:02 PM
    What's your favorite Hamilton feature?
    t
    • 2
    • 3
  • t

    Thierry Jean

    05/07/2024, 10:03 PM
    What are the benefits of using Hamilton or Dagster? When should I use either?
    t
    • 2
    • 3
  • t

    Thierry Jean

    05/07/2024, 10:05 PM
    Give me a brief Python code example of how to use the
    @subdag
    function modifier. It should help me write more expressive data transformations using Python functions.
    t
    • 2
    • 2
  • s

    Stefan Krawczyk

    05/09/2024, 6:03 AM
    Provide me the documentation references for Parallelizable and Collect
    t
    • 2
    • 2
  • a

    Alidu Abubakari

    05/10/2024, 6:44 PM
    How do I get started?
    t
    s
    • 3
    • 3
  • s

    Stefan Krawczyk

    05/15/2024, 11:52 PM
    How do I get started?
    đź‘€ 1
    t
    • 2
    • 1
  • s

    Stefan Krawczyk

    07/23/2024, 1:42 AM
    What are the best resources on
    @subdag
    ?
  • s

    Stefan Krawczyk

    07/23/2024, 1:46 AM
    What are the best resources on
    @subdag
    ?
    đź‘€ 1
    t
    • 2
    • 2
  • s

    Stefan Krawczyk

    07/23/2024, 1:51 AM
    How do I use
    @subdag
    ?
    đź‘€ 1
    t
    • 2
    • 1
  • s

    Slackbot

    07/23/2024, 1:52 AM
    This message was deleted.
    đź‘€ 1
    t
    • 2
    • 1
  • m

    Mathew Goldsborough

    07/23/2024, 6:58 AM
    How do I use
    @subdag
    ?
    đź‘€ 1
    t
    • 2
    • 1
  • v

    Viktor

    08/20/2024, 5:37 AM
    where do I find documentation an examples for integrating hamilton with dagster or flyte?
    đź‘€ 1
    t
    s
    m
    • 4
    • 11
  • v

    Viktor

    09/06/2024, 1:46 AM
    How can Hamilton be categorized in comparison with Kedro? Which purposes should each of them preferably be used for?
    đź‘€ 1
    t
    e
    s
    • 4
    • 4
  • v

    Viktor

    09/07/2024, 5:53 AM
    If I want to store the contents of an ipywidgets Textarea widget in a text or arrow file, are the load_from and save_to decorators a good choice for use within a Jupyter notebook? How would that look in code with the widget separated into its own cell, for example?
    đź‘€ 1
    t
    s
    • 3
    • 12
  • v

    Viktor

    09/19/2024, 11:04 AM
    I'm thinking of combining Hamilton with Dagster. Particularly for scheduled contiguous data ingress from a web API, that provides up-to-date data. Every week or month, the newest data would be downloaded and stored for further processing with Hamilton. Question 1: I wonder, if Dagster is actually necessary for this, however. I've written out the chunked downloading, including debouncing mechanism (back-off) in Python already. Currently I'm storing with sqlAlchemy to MariaDB, but considering parquet for raw data storage, too. Eventually,
    đź‘€ 1
    t
    s
    • 3
    • 7
  • g

    Guilherme Pereira de Freitas

    10/22/2024, 8:59 PM
    How can I retrieve cached artifacts after a run? I have already discovered
    hamilton.caching.cache_key.create_cache_key
    and
    hamilton.caching.stores.sqlite.SQLiteMetadataStore
    but I'm having a hard time building the right cache_key for various nodes from the last run id.
    đź‘€ 1
    t
    s
    • 3
    • 26
  • t

    Tursunali Kholdorov

    01/17/2025, 1:38 PM
    Hi. I'm using wrenai and I'm getting the following warning:
    Copy code
    db_schemas token count is greater than 100,000, so we will prune columns
    And this error:
    Copy code
    wren-ai-service-1  | Traceback (most recent call last):
    wren-ai-service-1  |   File "/app/.venv/lib/python3.12/site-packages/hamilton/async_driver.py", line 122, in new_fn
    wren-ai-service-1  |     await fn(**fn_kwargs) if asyncio.iscoroutinefunction(fn) else fn(**fn_kwargs)
    wren-ai-service-1  |                                                                   ^^^^^^^^^^^^^^^
    wren-ai-service-1  |   File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 256, in sync_wrapper
    wren-ai-service-1  |     self._handle_exception(observation, e)
    wren-ai-service-1  |   File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 517, in _handle_exception
    wren-ai-service-1  |     raise e
    wren-ai-service-1  |   File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 254, in sync_wrapper
    wren-ai-service-1  |     result = func(*args, **kwargs)
    wren-ai-service-1  |              ^^^^^^^^^^^^^^^^^^^^^
    wren-ai-service-1  |   File "/src/pipelines/retrieval/retrieval.py", line 301, in construct_retrieval_results
    wren-ai-service-1  |     columns_and_tables_needed = orjson.loads(
    wren-ai-service-1  |                                 ^^^^^^^^^^^^^
    wren-ai-service-1  | KeyError: 'results'
    s
    • 2
    • 2
  • b

    Benoit Aubuchon

    03/03/2025, 12:45 PM
    I'm slowly porting an existing codebase to Hamilton and I'm trying to access the result of one of the workflow step. The result is a DataFrame. I made a function to return it but when I access it from the execute function, each column is a key in the result dictionary. Is there a way to simply grab the whole dataframe?
  • s

    Stefan Krawczyk

    03/07/2025, 6:30 PM
    archived the channel