Capability to define output key for Importer
See original GitHub issueDescribe the feature and the current behavior/state.
Currently, the output dict of the importer defaults to result
. It will be good to let the user specify the output dict.
Will this change the current API? How?
Adding a new arg, output_key='result'
to the Importer API.
Who will benefit with this feature? This will enable reusing the existing code snippet. e.g. Current behavior requires the output dict to be updated everywhere:
schema_gen = Importer(...)
# schame_gen = SchemaGen(...)
trainer = Trainer(..., schema=schema_gen['result'], ...)
# trainer = Trainer(..., schema=schema_gen['schema_gen'], ...)
evalutor = Evaluator(..., schema=schema_gen['result'], ...)
# evalutor = Evaluator(..., schema=schema_gen['schema_gen'], ...)
Do you have a workaround or are completely blocked by this? : Refactor the code
Name of your Organization (Optional) Twitter, Inc.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
18 Exporting and Importing
This chapter describes how to manage export and import operations in Oracle Data Integrator. An introduction to the import and export concepts is...
Read more >Import a key version into Cloud KMS - Google Cloud
An import job defines the characteristics of the keys it imports, including properties that cannot be changed after the key is imported.
Read more >GPG Cheat Sheet
Basically if you want one key-pair for all of your computers (assuming you have multiple computers), then this allows you export that key-pair...
Read more >Exporting stack output values - AWS CloudFormation
To share information between stacks, export a stack's output values. Other stacks that are in the same AWS account and region can import...
Read more >Reading: Importing and Exporting, and Global Sourcing
Understand what importing and exporting are. Learn why companies export. Explain the main contractual and investment entry modes. What Do We Mean by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In addition to SchemaGen, also ExampleGen. Reusing a transformed training dataset is also a common use case. Similarly, if one have multiple trained models that they would like to use for evaluation, one might want to also import channel of type Model. etc.
@sumitbinnani
Could you please move this to closed status if it is resolved.Thanks