Skip to content

Commit

Permalink
Merge pull request #102 from rapidpro/drop_value_input
Browse files Browse the repository at this point in the history
Remove input field on run values
  • Loading branch information
rowanseymour authored Dec 3, 2024
2 parents f69e2d2 + e0c479a commit 4550c17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion temba_client/v2/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,6 @@ def test_get_runs(self, mock_request):
self.assertEqual(len(results[0].values), 2)
self.assertEqual(results[0].values["color"].value, "blue")
self.assertEqual(results[0].values["color"].category, "Blue")
self.assertEqual(results[0].values["color"].input, "it is blue")
self.assertEqual(results[0].values["color"].name, "color")
self.assertEqual(results[0].values["color"].node, "fc32aeb0-ac3e-42a8-9ea7-10248fdf52a1")
self.assertEqual(results[0].values["color"].time, datetime(2015, 11, 11, 13, 3, 51, 635662, tzone.utc))
Expand Down
3 changes: 1 addition & 2 deletions temba_client/v2/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,11 @@ class Step(TembaObject):
time = DatetimeField()

class Value(TembaObject):
name = SimpleField()
value = SimpleField()
category = SimpleField()
node = SimpleField()
time = DatetimeField()
name = SimpleField()
input = SimpleField()

uuid = SimpleField()
flow = ObjectField(item_class=ObjectRef)
Expand Down

0 comments on commit 4550c17

Please sign in to comment.