Commit 5a81b3d
Remove previously deprecated fields in cirq_google proto (#7183)
* Remove previously deprecated fields in cirq_google proto
- Removes schedule (not used in 5+ years)
- Removes gate and args (not used since v2.5, 3+ years)
- Removes checks on gate set and language.
- Removes tests that use the above.
* Take care of deprecated usage in test.
* Another broken test.
* Remove another test
* Remove engine test with bad gateset
* Put back test.
* Add back lint issue.
---------
Co-authored-by: Pavol Juhas <juhas@google.com>1 parent 2ad1b70 commit 5a81b3d
8 files changed
Lines changed: 140 additions & 361 deletions
File tree
- cirq-google/cirq_google
- api/v2
- engine
- serialization
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 22 | | |
27 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 107 | | |
128 | 108 | | |
129 | 109 | | |
| |||
223 | 203 | | |
224 | 204 | | |
225 | 205 | | |
226 | | - | |
227 | | - | |
228 | | - | |
| 206 | + | |
| 207 | + | |
229 | 208 | | |
230 | 209 | | |
231 | 210 | | |
| |||
248 | 227 | | |
249 | 228 | | |
250 | 229 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 230 | | |
256 | 231 | | |
257 | 232 | | |
258 | 233 | | |
259 | 234 | | |
260 | 235 | | |
261 | | - | |
| 236 | + | |
262 | 237 | | |
263 | 238 | | |
264 | 239 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | 319 | | |
333 | 320 | | |
334 | 321 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | 394 | | |
401 | 395 | | |
402 | 396 | | |
| |||
Lines changed: 1 addition & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | 683 | | |
696 | 684 | | |
697 | 685 | | |
| |||
701 | 689 | | |
702 | 690 | | |
703 | 691 | | |
704 | | - | |
| 692 | + | |
705 | 693 | | |
706 | 694 | | |
707 | 695 | | |
| |||
715 | 703 | | |
716 | 704 | | |
717 | 705 | | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | 706 | | |
739 | 707 | | |
740 | 708 | | |
| |||
759 | 727 | | |
760 | 728 | | |
761 | 729 | | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | 730 | | |
799 | 731 | | |
800 | 732 | | |
| |||
0 commit comments