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

lf.structured.ValueJsonRepr.parse to pass through keyword args to pg.from_json_str. #44

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 12, 2023

lf.structured.ValueJsonRepr.parse to pass through keyword args to pg.from_json_str.

This allows passing force_dict=True when dealing with hallucinated _type field.

@codecov-commenter
Copy link

Codecov Report

Merging #44 (a0a2ca5) into main (199fd49) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   97.30%   97.30%           
=======================================
  Files          39       39           
  Lines        2899     2899           
  Branches      603      603           
=======================================
  Hits         2821     2821           
  Misses         31       31           
  Partials       47       47           
Files Coverage Δ
langfun/core/structured/schema.py 96.33% <100.00%> (ø)

@copybara-service copybara-service bot closed this Oct 12, 2023
@copybara-service copybara-service bot deleted the test_572954123 branch October 12, 2023 18:18
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.

1 participant