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

Top level imports #16

Closed
dmpetrov opened this issue Jul 11, 2024 · 0 comments · Fixed by #23
Closed

Top level imports #16

dmpetrov opened this issue Jul 11, 2024 · 0 comments · Fixed by #23
Assignees
Labels
enhancement New feature or request priority-p1

Comments

@dmpetrov
Copy link
Member

dmpetrov commented Jul 11, 2024

We need to enable:

from datachain import (
  DataChain,
  Column, # We need to introduce it
  C,
  Feature,
  File,
  FileFeature,
  TarVFile,
  FileError,
  IndexedFile,
  Mapper,
  Generator,
  Aggregator,
  BaseUDF,
  AbstractUDF,
  Session,
  DataChainError,
  pydantic_to_feature
)

Dow we need to extract text and images to a separate "folder":

from datachain.image import convert_images, ImageFile
from datachain.text import convert_text, 
@dmpetrov dmpetrov added enhancement New feature or request priority-p1 labels Jul 11, 2024
@mattseddon mattseddon self-assigned this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-p1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants