Skip to content

Commit bd98524

Browse files
committed
Address review: rename remaining sf-hamilton references in Dockerfile, conda script, and jinja2 template
1 parent 585ccaa commit bd98524

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

contrib/docs/templates/driver_builder.py.jinja2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ from hamilton.execution import executors
1111
{%- endif %}
1212
{%- else %}
1313
{%- if is_user %}
14-
# Make sure you've done - `pip install sf-hamilton-contrib --upgrade`
14+
# Make sure you've done - `pip install apache-hamilton-contrib --upgrade`
1515
from hamilton.contrib.user.{{USER}} import {{MODULE_NAME}}
1616
{%- else %}
17-
# Make sure you've done - `pip install sf-hamilton-contrib --upgrade`
17+
# Make sure you've done - `pip install apache-hamilton-contrib --upgrade`
1818
from hamilton.contrib.dagworks import {{MODULE_NAME}}
1919
{%- endif %}
2020
{%- endif %}
@@ -32,7 +32,7 @@ dr = (
3232
.with_modules({{MODULE_NAME}})
3333
.build()
3434
)
35-
# If you have sf-hamilton[visualization] installed, you can see the dataflow graph
35+
# If you have apache-hamilton[visualization] installed, you can see the dataflow graph
3636
# In a notebook this will show an image, else pass in arguments to save to a file
3737
# dr.display_all_functions()
3838
# Execute the dataflow, specifying what you want back. Will return a dictionary.

examples/snowflake/hamilton_ui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FROM python:3.13.1-slim
1919

2020
RUN apt update
2121
RUN apt upgrade sqlite3 -y
22-
RUN pip install "sf-hamilton[ui,sdk]"
22+
RUN pip install "apache-hamilton[ui,sdk]"
2323
RUN pip install flask
2424

2525
ENV HAMILTON_ALLOWED_HOSTS=".snowflakecomputing.app"

scripts/build_conda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ CONDA_HOME=$HOME/anaconda3
2020
# This is a script to create and build hamilton for conda.
2121
# Be sure you have conda activated and have logged into anaconda
2222
# conda activate && anaconda login
23-
pkg='sf-hamilton'
23+
pkg='apache-hamilton'
2424
# adjust the Python versions you would like to build
2525
array=(3.10 3.11 3.12 3.13)
2626
echo "Building conda package ..."
2727
cd ~
28-
# this will create a ~/sf-hamilton directory with metadata to build the package.
28+
# this will create a ~/apache-hamilton directory with metadata to build the package.
2929
# will error if it already exists.
3030
conda skeleton pypi $pkg
3131

0 commit comments

Comments
 (0)