有没有一种方法可以让Python (例如在PyCharm、其他IDE中)获取argparse.Namespace对象的类型提示?parsed object has no attribute 'somearg'
如果删除内联注释中的类型声明,PyCharm不会抱怨,但也不会获取无效属性。虽然这是令人满意的,但我仍然不喜欢重复论点的名字。如果参数列表大幅度增加,那么更新这两个位置将是乏味的。理想的方法
我们从卡桑德拉星系团得到了奇怪的行为(1.0.10)。 at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:218)
at org.apache.cassandra.cli.CliMain.processStatementInteractive(CliMain.java:220)at org.apache.cassandra.<e