-
Notifications
You must be signed in to change notification settings - Fork 323
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
Some minor improvements suggested from Ned's use #9249
Conversation
Fix missing imports.
Add default widgets to Data method.
a1b1b0e
to
dafdf2d
Compare
new : Text -> AWS_Credential | Nothing -> S3_File ! Illegal_Argument | ||
new (uri : Text = S3.uri_prefix) (credentials : AWS_Credential | Nothing = Nothing) = | ||
new : Text -> AWS_Credential -> S3_File ! Illegal_Argument | ||
new (uri : Text = S3.uri_prefix) credentials:AWS_Credential=AWS_Credential.Default = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new (uri : Text = S3.uri_prefix) credentials:AWS_Credential=AWS_Credential.Default = | |
new (uri : Text = S3.uri_prefix) (credentials : AWS_Credential = AWS_Credential.Default) = |
nit: IMHO the version with spaces + parentheses is more readable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do as part of the ICON apply this evening.
- if_missing: The value to use if the selector isn't present. | ||
@selector Widget_Helpers.make_column_name_selector | ||
@index (t-> Widget.Numeric_Input minimum=0 maximum=t.row_count-1) | ||
get_value : Text | Integer -> Integer -> Any -> Any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was get_value
chosen over get_cell
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bounced back and forth with Ned and we felt value was better but it was pretty equal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great
Pull Request Description
AWS_Credential
to have aDefault
and removed support forNothing
from functions.Response_Body.to_file
toResponse_Body.write
.write
toResponse
.Table.get_value
andDB_Table.get_value
allowing getting a single value from a table.Data.download
allowing downloading from a URL to a file.Data
methods.Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.