Skip to content

Commit

Permalink
fix: Rename executedProgram to compiledProgram
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijc authored and rchilaka-amzn committed Feb 25, 2022
1 parent 4f733c9 commit 82c49cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/braket/task_result/oqc_metadata_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ class OqcMetadata(BraketSchemaBase):
default=_OQC_METADATA_HEADER, const=_OQC_METADATA_HEADER
)

executedProgram: constr(min_length=2)
compiledProgram: constr(min_length=2)
2 changes: 1 addition & 1 deletion test/unit_tests/braket/task_result/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def dwave_metadata(active_variables, dwave_timing, braket_schema_header):

@pytest.fixture
def oqc_metadata(compiled_program):
return OqcMetadata(executedProgram=compiled_program)
return OqcMetadata(compiledProgram=compiled_program)


@pytest.fixture
Expand Down

0 comments on commit 82c49cf

Please sign in to comment.