robotpy / robotpy/mostrobotpy

[BUG]: DataLogManager type hints do not indicate it can't be constructed

Open
#117 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
27
Forks
29
Avg merge
4d 6h
Merged PRs (30d)
12

Description

### Problem description

```py
import wpilib
class Robot(wpilib.TimedRobot):
def __init__(self, period = 0.02):
super().__init__()
wpilib.DataLogManager()
```
`wpilib.DataLogManager()` can't be constructed but there's no type error.

The pyi for DataLogManager needs a `__init__: None` in it

### Operating System

Windows

### Installed Python Packages

_No response_

### Reproducible example code

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.