Instagram / Instagram/LibCST

Add statement to class

Open
#1,201 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

I can't figure out how to add a statetement parsed using `libcst.parse_statement` to the body of a `libcst.ClassDef` node in `leave_ClassDef`. Is there any easy way to implement this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.