Skip to content

Commit

Permalink
OK, if I must force it I will
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Jul 23, 2024
1 parent 4a61b18 commit f2e7e73
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
# limitations under the License.

import unittest
from typing import Optional
from typing import Optional, cast
from typing_extensions import Self
from spinn_utilities.config_holder import set_config
from pacman.config_setup import unittest_setup
from pacman.data.pacman_data_writer import PacmanDataWriter
Expand Down Expand Up @@ -47,7 +48,7 @@ def __init__(
n_atoms=n_atoms)
self.__fixed_key_and_mask = fixed_key_and_mask
self._splitter = SplitterOneAppOneMachine()
self._splitter.set_governed_app_vertex(self)
self._splitter.set_governed_app_vertex(cast(Self, self))

def get_fixed_key_and_mask(
self, partition_id: str) -> Optional[BaseKeyAndMask]:
Expand Down

0 comments on commit f2e7e73

Please sign in to comment.