Skip to content
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

[DOCS][CHORE] Add docs for IOConfig and S3Config #1227

Merged
merged 4 commits into from
Aug 3, 2023
Merged

Conversation

jaychia
Copy link
Contributor

@jaychia jaychia commented Aug 3, 2023

Adds documentation for IOConfig and S3Config

Closes: #1106

@github-actions github-actions bot added chore documentation Improvements or additions to documentation labels Aug 3, 2023
@@ -2,8 +2,7 @@

import json

from daft.daft import PyIOConfig as IOConfig
from daft.daft import PyS3Config as S3Config
from daft.daft import IOConfig, S3Config
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I had to do this because it seems Sphinx really doesn't like aliasing. The docstrings were never getting picked up, instead only ever showing up as alias of PyIOConfig.

Tried proposed solutions here to no avail: StackOverflow qn

@jaychia jaychia changed the title [DOCS][CHORE] [DOCS][CHORE] Add docs for IOConfig and S3Config Aug 3, 2023
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #1227 (11d3cdc) into main (ad11d44) will decrease coverage by 0.01%.
Report is 2 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1227      +/-   ##
==========================================
- Coverage   88.10%   88.09%   -0.01%     
==========================================
  Files          56       56              
  Lines        5656     5655       -1     
==========================================
- Hits         4983     4982       -1     
  Misses        673      673              
Files Changed Coverage Δ
daft/io/config.py 57.14% <100.00%> (-5.36%) ⬇️

@jaychia jaychia merged commit 61cbf27 into main Aug 3, 2023
@jaychia jaychia deleted the jay/docs-io-config branch August 3, 2023 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[IO] Document IOConfig in daft.io
1 participant