Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jun 11, 2024
1 parent f3f1fed commit 6076d85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mcmc/mcmc_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

from enum import Enum
from typing import Sequence
import numpy

from spinn_utilities.overrides import overrides
Expand Down Expand Up @@ -381,7 +382,7 @@ def read_samples(self, buffer_manager, placement):
return numpy.array(data, dtype="uint8").view(numpy_format)

@overrides(AbstractReceiveBuffersToHost.get_recorded_region_ids)
def get_recorded_region_ids(self):
def get_recorded_region_ids(self) -> Sequence[int]:
return [0]

@overrides(AbstractReceiveBuffersToHost.get_recording_region_base_address)
Expand Down

0 comments on commit 6076d85

Please sign in to comment.