forked from LineaLabs/lineapy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LIN-290 documentation fixes (LineaLabs#629)
* add docstring to get_code, just that nothing else absolutely. Fixes LIN-300 * move docker test example from howto to usage/airflow. Also reorg other items in howto to the appropriate locations. Should fix LIN-299 * related to LIN-300, the parameter is used in two places. Also fix the parameter passed to GetCodeEvent - was hardcoded before. * fix a small indentation issue * late night spell checks * Reorganize contents under User Guide section * Use consistent doc style Co-authored-by: Sangyoon Park <datumvitae@gmail.com>
- Loading branch information
1 parent
2c09587
commit c0a6a59
Showing
27 changed files
with
273 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
__getitem__ | ||
# Custom Dictionary Words | ||
astpretty | ||
asttokens | ||
builtins | ||
getattr | ||
graphviz | ||
ipython | ||
isinstance | ||
jupyterlab | ||
kwargs | ||
linea | ||
lineabuiltins | ||
lineapy | ||
maxdepth | ||
nbconvert | ||
nbformat | ||
nbsphinx | ||
nbval | ||
NBVAL_IGNORE_OUTPUT | ||
networkx | ||
psycopg2 | ||
Pydantic | ||
scipy | ||
sklearn | ||
sqlalchemy | ||
templating | ||
toctree | ||
traceback | ||
xdist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
lineapy.utils.analytics package | ||
=============================== | ||
|
||
Submodules | ||
---------- | ||
|
||
lineapy.utils.analytics.event\_schemas module | ||
--------------------------------------------- | ||
|
||
.. automodule:: lineapy.utils.analytics.event_schemas | ||
:members: | ||
|
||
lineapy.utils.analytics.usage\_tracking module | ||
---------------------------------------------- | ||
|
||
.. automodule:: lineapy.utils.analytics.usage_tracking | ||
:members: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: lineapy.utils.analytics | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. _testingairflow: | ||
|
||
Running Airflow DAGs | ||
-------------------- | ||
|
||
Every time :func:`lineapy.to_pipeline` is called, a Dockerfile and a ``requirements.txt`` with the dag name as prefix will be generated in the same folder. | ||
When using ``framework="AIRFLOW"``, we can use the dockerfile that is output to set up an image with a test airflow instance. | ||
This standalone instance can be used to test your dag. To build an image, run the following command: | ||
|
||
.. code:: bash | ||
docker build -t <image_name> . -f <dagname>_Dockerfile | ||
To then stand up an airflow instance with the dag in it, run the following command: | ||
|
||
.. code:: bash | ||
docker run -it -p 8080:8080 <image_name> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Building Pipelines | ||
================== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
../../tutorials/02_build_pipelines | ||
airflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Databases for Artifact Store | ||
============================ | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Managing Artifacts | ||
================== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
database/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Refactoring Code | ||
================ | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
../../tutorials/01_refactor_code |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.