Skip to content

Remove strict type checking#511

Open
jonkeane wants to merge 1 commit intomainfrom
no_strict_types
Open

Remove strict type checking#511
jonkeane wants to merge 1 commit intomainfrom
no_strict_types

Conversation

@jonkeane
Copy link
Collaborator

@jonkeane jonkeane commented Mar 4, 2026

Intent

Remove the strict type checking. This is basically a oneshot from claude. Putting up here to see if CI passes + what folks think

Approach

Only to coercion around date times since we get RFC 3339 back which are not auto-converted to posix.ct (though maybe we don't even need to do that, just accept these are characters and then only at presentation / dataframing do we make them a native type.

Checklist

  • Does this change update NEWS.md (referencing the connected issue if necessary)?
  • Does this change need documentation? Have you run devtools::document()?

if (length(keys) == 0) {
message("No active jobs found.")
return(vctrs::vec_ptype(connectapi_ptypes$job_termination))
return(tibble::tibble())
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This looks wrong, though I guess if there are no jobs it would return nothing...

@karawoo
Copy link
Collaborator

karawoo commented Mar 4, 2026

I have a WIP branch to do something similar that I hadn't gotten opened yet, let me open a PR to compare. I think there are some pros/cons of each

@karawoo
Copy link
Collaborator

karawoo commented Mar 5, 2026

I have a WIP branch to do something similar that I hadn't gotten opened yet, let me open a PR to compare. I think there are some pros/cons of each

Opened #513

@jonkeane
Copy link
Collaborator Author

jonkeane commented Mar 5, 2026

I have a WIP branch to do something similar that I hadn't gotten opened yet, let me open a PR to compare. I think there are some pros/cons of each

Opened #513

I like the approach you have there and am very happy to defer to you on this! The approaches overall are very similar, and both achieve a good amount of code deletion + simplification and flexibility

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.

2 participants