From 35b10e53c181cfae63abfd761bf983d933d8d2e8 Mon Sep 17 00:00:00 2001 From: Ardavan Oskooi Date: Sun, 20 Feb 2022 19:36:57 -0800 Subject: [PATCH] Enable support for Python 3.5 (#1954) * Switch from Python 3.7 to 3.5 in CI * fixes --- python/simulation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/simulation.py b/python/simulation.py index 0b7d59a03..22c063387 100644 --- a/python/simulation.py +++ b/python/simulation.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import annotations - from typing import Callable, List, Tuple, Union, Optional import functools @@ -968,7 +966,7 @@ def __init__(self, geometry_center: Vector3Type = Vector3(), force_all_components: bool = False, split_chunks_evenly: bool = True, - chunk_layout: Optional[str, Simulation, BinaryPartition] = None, + chunk_layout: Optional[str] = None, collect_stats: bool = False): """ All `Simulation` attributes are described in further detail below. In brackets