• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 5910646359

19 Aug 2023 09:25AM UTC coverage: 83.152% (-0.1%) from 83.3%
5910646359

push

github

web-flow
[typing] Fix wrong mypy typing annotations (backport #4879) (#4880)

* [typing] Fix wrong mypy typing annotations (#4879)

* Fix mypy abqpy issues

* Mypy typings

* Update typing annotations for SymbolicConstants

* Fixing typings

* Add future annotations

* Use list/dict/tuple instead of List/Dict/Tuple

* Fix Optional typings

* Add future annotations

* Update xyPlot.py

* Update .pre-commit-config.yaml

* Fix list typings for Python 3.7/3.8

* Fixing more typings

* Fix more typings

* Update conf.py

* Update .pre-commit-config.yaml

* Revert "Update conf.py"

This reverts commit e8449ae0c.

* Update conf.py

* Revert "Update conf.py"

This reverts commit 3be44d0a5.

* Docs Not -W

(cherry picked from commit d7be4b472)

# Conflicts:
#	src/abaqus/BasicGeometry/Cell.py
#	src/abaqus/BasicGeometry/CellArray.py
#	src/abaqus/BasicGeometry/Face.py
#	src/abaqus/BasicGeometry/FaceArray.py
#	src/abaqus/BoundaryCondition/BoundaryConditionModel.py
#	src/abaqus/BoundaryCondition/SubmodelBC.py
#	src/abaqus/Datum/DatumCsys.py
#	src/abaqus/DisplayGroup/LeafFromConstraintNames.py
#	src/abaqus/EngineeringFeature/DataImperfection.py
#	src/abaqus/EngineeringFeature/EngineeringFeature.py
#	src/abaqus/EngineeringFeature/EngineeringFeatureBase.py
#	src/abaqus/EngineeringFeature/FileImperfection.py
#	src/abaqus/EngineeringFeature/InputImperfection.py
#	src/abaqus/FieldReport/FieldReportSession.py
#	src/abaqus/FieldReport/writeFieldReport.py
#	src/abaqus/Interaction/ContactExp.py
#	src/abaqus/Interaction/ContactStd.py
#	src/abaqus/Interaction/ExpInitialization.py
#	src/abaqus/Interaction/FluidInflatorProperty.py
#	src/abaqus/Interaction/FluidInflatorState.py
#	src/abaqus/Interaction/InteractionContactInitializationModel.py
#	src/abaqus/Interaction/InteractionModel.py
#	src/abaqus/Interaction/InteractionPropertyModel.py
#	src/abaqus/Interaction/SurfaceCrushTriggerAssignment.py
#... (continued)

3258 of 3258 new or added lines in 713 files covered. (100.0%)

24089 of 28970 relevant lines covered (83.15%)

0.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/Interaction/SurfaceToSurfaceExpState.py
1
from __future__ import annotations
×
2

3
from abqpy.decorators import abaqus_class_doc
×
4

5
from ..UtilityAndView.abaqusConstants import SymbolicConstant
×
6
from .InteractionState import InteractionState
×
7

8

9
@abaqus_class_doc
×
10
class SurfaceToSurfaceExpState(InteractionState):
×
11
    """The SurfaceToSurfaceExpState object stores the propagating data for a SurfaceToSurfaceContactExp object.
12
    One instance of this object is created internally by the SurfaceToSurfaceContactExp object for each step.
13
    The instance is also deleted internally by the SurfaceToSurfaceContactExp object. The
14
    SurfaceToSurfaceExpState object has no constructor or methods. The SurfaceToSurfaceExpState object is
15
    derived from the InteractionState object.
16

17
    .. note::
18
        This object can be accessed by::
19

20
            import interaction
21
            mdb.models[name].steps[name].interactionStates[name]
22

23
        The corresponding analysis keywords are:
24

25
        - CONTACT CONTROLS
26
        - CONTACT PAIR
27
    """
28

29
    #: A SymbolicConstant specifying the propagation state of the **interactionProperty** member.
30
    #: Possible values are UNSET, SET, UNCHANGED, and FREED.
31
    interactionPropertyState: SymbolicConstant
×
32

33
    #: A SymbolicConstant specifying the propagation state of the **contactControls** member.
34
    #: Possible values are UNSET, SET, UNCHANGED, and FREED.
35
    contactControlsState: SymbolicConstant
×
36

37
    #: A String specifying the name of the ContactProperty object associated with this
38
    #: interaction.
39
    interactionProperty: str = ""
×
40

41
    #: A String specifying the name of the ContactControl object associated with this
42
    #: interaction.
43
    contactControls: str = ""
×
44

45
    #: A SymbolicConstant specifying the propagation state of the InteractionState object.
46
    #: Possible values are:
47
    #:
48
    #: - NOT_YET_ACTIVE
49
    #: - CREATED
50
    #: - PROPAGATED
51
    #: - MODIFIED
52
    #: - DEACTIVATED
53
    #: - NO_LONGER_ACTIVE
54
    #: - TYPE_NOT_APPLICABLE
55
    #: - INSTANCE_NOT_APPLICABLE
56
    #: - BUILT_INTO_BASE_STATE
57
    status: SymbolicConstant
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc