8000 decimal default parameter not being taken into account · Issue #1769 · pythonnet/pythonnet · GitHub
[go: up one dir, main page]

Skip to content
decimal default parameter not being taken into account #1769
Closed
@sensokame

Description

@sensokame

Environment

  • Pythonnet version: 3.0.0a2
  • Python version: 3.10.4
  • Operating System: Windows
  • .NET Runtime: 5.0.1

Details

  • use a method with default decimal parameter from python. I created a method with optional parameters, one of which is a decimal parameter "decimal sampling_time = 1", then in python I tried using this method with the default parameter, however, the value of the default parameter was 0 instead of the 1 that I set.
    Note: the other default parameters worked fine (uint, and int parameters)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0