mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
typing
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import ifcopenshell
|
||||
import ifcopenshell.util.element
|
||||
import ifcopenshell.util.geolocation
|
||||
from typing import Union, Optional
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@ import uuid
|
||||
from .file import file
|
||||
from .guid import compress
|
||||
from .ifcopenshell_wrapper import version
|
||||
from typing import Optional
|
||||
|
||||
|
||||
# A quick way to setup an 'empty' IFC file, taken from:
|
||||
# http://academy.ifcopenshell.org/creating-a-simple-wall-with-property-set-and-quantity-information/
|
||||
@@ -68,17 +70,17 @@ DEFAULTS = {
|
||||
|
||||
|
||||
def create(
|
||||
filename=None,
|
||||
timestring=None,
|
||||
organization=None,
|
||||
creator=None,
|
||||
schema_identifier=None,
|
||||
application_version=None,
|
||||
timestamp=None,
|
||||
application=None,
|
||||
project_globalid=None,
|
||||
project_name=None,
|
||||
):
|
||||
filename: Optional[str] = None,
|
||||
timestring: Optional[str] = None,
|
||||
organization: Optional[str] = None,
|
||||
creator: Optional[str] = None,
|
||||
schema_identifier: Optional[str] = None,
|
||||
application_version: Optional[str] = None,
|
||||
timestamp: Optional[str] = None,
|
||||
application: Optional[str] = None,
|
||||
project_globalid: Optional[str] = None,
|
||||
project_name: Optional[str] = None,
|
||||
) -> file:
|
||||
d = dict(locals())
|
||||
|
||||
def _():
|
||||
|
||||
Reference in New Issue
Block a user