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

fix: Set default value for Conditional.sum_rows #934

Merged
merged 5 commits into from
Apr 16, 2024
Merged

Conversation

mark-koch
Copy link
Contributor

@mark-koch mark-koch commented Apr 15, 2024

BEGIN_COMMIT_OVERRIDE
feat: Set default value for Conditional.sum_rows (#934)
END_COMMIT_OVERRIDE

Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.46%. Comparing base (b9853d5) to head (b4d6e4e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #934      +/-   ##
==========================================
- Coverage   85.53%   85.46%   -0.08%     
==========================================
  Files          78       78              
  Lines       14252    14252              
  Branches    14252    14252              
==========================================
- Hits        12190    12180      -10     
- Misses       1427     1436       +9     
- Partials      635      636       +1     
Flag Coverage Δ
rust 85.46% <ø> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mark-koch mark-koch added this pull request to the merge queue Apr 16, 2024
Merged via the queue into main with commit d69198e Apr 16, 2024
18 checks passed
@mark-koch mark-koch deleted the fix/set-default branch April 16, 2024 09:34
doug-q pushed a commit that referenced this pull request May 10, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.2.0-pre](hugr-py-v0.1.0...hugr-py-v0.2.0-pre)
(2024-05-10)


### ⚠ BREAKING CHANGES

* New serialisation schema
* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
* Many uses of `Const` now use `Value`.

### Features

* Add LoadFunction node
([#947](#947))
([81e9602](81e9602))
* Encoder metadata in serialized hugr
([#955](#955))
([0a44d48](0a44d48))
* Implement `CustomConst` serialization
([#1005](#1005))
([c45e6fc](c45e6fc))
* Revert the removal of `Value`
([#967](#967))
([0c354b6](0c354b6))
* Set default value for `Conditional.sum_rows`
([#934](#934))
([d69198e](d69198e))


### Bug Fixes

* `OpDef` serialization
([#1013](#1013))
([3d8f6f6](3d8f6f6))
* input_port_types and other helper functions on pydantic schema
([#958](#958))
([8651839](8651839))
* Remove insert_port_types for LoadFunction
([#993](#993))
([acca7bf](acca7bf))
* Serialisation for `Type`, `PolyFuncType`, and `Value`
([#968](#968))
([d913f40](d913f40))
* Serialization for `Op`s
([#997](#997))
([9ce6e49](9ce6e49))


### Code Refactoring

* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
([c45e6fc](c45e6fc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request May 13, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.2.0a1](hugr-py-v0.1.0...hugr-py-v0.2.0a1)
(2024-05-13)


### ⚠ BREAKING CHANGES

* New serialisation schema
* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
* Many uses of `Const` now use `Value`.

### Features

* Add LoadFunction node
([#947](#947))
([81e9602](81e9602))
* Encoder metadata in serialized hugr
([#955](#955))
([0a44d48](0a44d48))
* Implement `CustomConst` serialization
([#1005](#1005))
([c45e6fc](c45e6fc))
* Revert the removal of `Value`
([#967](#967))
([0c354b6](0c354b6))
* Set default value for `Conditional.sum_rows`
([#934](#934))
([d69198e](d69198e))


### Bug Fixes

* `OpDef` serialization
([#1013](#1013))
([3d8f6f6](3d8f6f6))
* input_port_types and other helper functions on pydantic schema
([#958](#958))
([8651839](8651839))
* Remove insert_port_types for LoadFunction
([#993](#993))
([acca7bf](acca7bf))
* Serialisation for `Type`, `PolyFuncType`, and `Value`
([#968](#968))
([d913f40](d913f40))
* Serialization for `Op`s
([#997](#997))
([9ce6e49](9ce6e49))
* set `[build-system]` in `hugr-py/pyproject.toml`
([#1022](#1022))
([b9c3ee4](b9c3ee4))


### Code Refactoring

* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
([c45e6fc](c45e6fc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Douglas Wilson <douglas.wilson@quantinuum.com>
github-merge-queue bot pushed a commit that referenced this pull request May 20, 2024
🤖 I have created a release *beep* *boop*
---

##
[0.2.1](hugr-py-v0.2.0...hugr-py-v0.2.1)
(2024-05-20)

### ⚠ BREAKING CHANGES

* New serialisation schema
* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
* Many uses of `Const` now use `Value`.

### Features

* Add serialization schema for metadata
([#1038](#1038))
([19bac62](19bac62))
* Add LoadFunction node
([#947](#947))
([81e9602](81e9602))
* Encoder metadata in serialized hugr
([#955](#955))
([0a44d48](0a44d48))
* Implement `CustomConst` serialization
([#1005](#1005))
([c45e6fc](c45e6fc))
* Revert the removal of `Value`
([#967](#967))
([0c354b6](0c354b6))
* Set default value for `Conditional.sum_rows`
([#934](#934))
([d69198e](d69198e))


### Bug Fixes

* `OpDef` serialization
([#1013](#1013))
([3d8f6f6](3d8f6f6))
* input_port_types and other helper functions on pydantic schema
([#958](#958))
([8651839](8651839))
* Remove insert_port_types for LoadFunction
([#993](#993))
([acca7bf](acca7bf))
* Serialisation for `Type`, `PolyFuncType`, and `Value`
([#968](#968))
([d913f40](d913f40))
* Serialization for `Op`s
([#997](#997))
([9ce6e49](9ce6e49))
* set `[build-system]` in `hugr-py/pyproject.toml`
([#1022](#1022))
([b9c3ee4](b9c3ee4))


### Code Refactoring

* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
([c45e6fc](c45e6fc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Agustín Borgna <121866228+aborgna-q@users.noreply.github.com>
Co-authored-by: doug-q <141026920+doug-q@users.noreply.github.com>
Co-authored-by: Douglas Wilson <douglas.wilson@quantinuum.com>
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