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

Added Code Sample and manual for S3 Object DataNode #785

Merged
merged 10 commits into from
Feb 3, 2024

Conversation

Forchapeatl
Copy link
Contributor

Copy link
Member

@trgiangdo trgiangdo left a comment

Choose a reason for hiding this comment

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

Thank you @Forchapeatl. I have some small comments, and concerning the configuration example.

Comment on lines 44 to 48
if __name__ == "__main__":

Core().run()
scenario = tp.create_scenario(scenario_cfg)
Gui(page).run(debug=True)
Copy link
Member

Choose a reason for hiding this comment

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

The example should be minimal, which means only containing the configuration.

You can add an example on how to read/write S3ObjectDataNode on the docs/manuals/core/entities/data-node-mgt.md page.

Copy link
Member

Choose a reason for hiding this comment

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

I agree.

  • I believe there is no need to run any Gui here.
  • I believe we don't need to configure a scenario here.
    • We can just configure a Global s3 data node using Config.configure_s3_data_node(...).
    • We can instantiate the data node using taipy.create_global_data_node(...)
    • We can explain how to write data and how to read data using
      datanode.write(...) and datanode.read()

docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
@trgiangdo
Copy link
Member

@Forchapeatl Thank you once again for your contribution. We highly appreciate your work and eagerly collaborating with you on this PR.

If you could provide an update or let us know if you need more time to answer the unresolved Comments, that would be greatly appreciated.

@Forchapeatl
Copy link
Contributor Author

Forchapeatl commented Jan 22, 2024

@Forchapeatl Thank you once again for your contribution. We highly appreciate your work and eagerly collaborating with you on this PR.

If you could provide an update or let us know if you need more time to answer the unresolved Comments, that would be greatly appreciated.

I just need more time . Please I will work on this before this week ends.

@Forchapeatl
Copy link
Contributor Author

Hello @trgiangdo and @jrobinAV , thank you for the reviews . The requested changes have been made.

docs/manuals/core/config/data-node-config.md Outdated Show resolved Hide resolved
Copy link
Member

@trgiangdo trgiangdo left a comment

Choose a reason for hiding this comment

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

LGTM. 1 minor comment on the code example, otherwise I believe this PR is ready to be merged

@trgiangdo trgiangdo linked an issue Feb 1, 2024 that may be closed by this pull request
@trgiangdo trgiangdo merged commit 0ce48a5 into Avaiga:develop Feb 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document S3DataNode
3 participants