-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add a Python coder #80
Comments
Note: at this time it is unclear what whether a schema encoding for Python is even meaningful, given that Python is schemaless. Meanwhile, the best data encoding for Python is simply JSON, which is already supported. Leaving this ticket open for now in case mapping of programs into Python becomes interesting in the medium- or long-term, which it is likely to. |
Actually... as of Python 3.7 (released almost five years ago), Python does have "dataclasses", which have a record-like syntax, e.g. @dataclass
class Point:
x: int
y: int These can probably serve as a target for many datatype definitions. |
Prior to having an actual Hydra implementation in Python (#66), we will need a two-level Python coder (schemas and data/programs). This will be useful for Python functionality aimed at TinkerPop, for populating Jupyter notebooks with data and, for internal purposes at LinkedIn, etc.
The text was updated successfully, but these errors were encountered: