This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # interesting | |
| torch.fx.experimental.proxy_tensor.handle_sym_dispatch(args=) | |
| torch.fx.experimental.proxy_tensor.handle_sym_dispatch(kwargs=) | |
| # done | |
| torch.DisableTorchFunction | |
| torch.DisableTorchFunctionSubclass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "before": { | |
| "name": "11e97bc7bd4~4801", | |
| "commit_id": "6c2c527cd67", | |
| "message": "[BE] Remove extra semicolons from SymmetricMemory.hpp (#154034)" | |
| }, | |
| "after": { | |
| "name": "11e97bc7bd4~4800", | |
| "commit_id": "b7d08defe9c", | |
| "message": "[BE]: Type previously untyped decorators (#153726)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "081000-7a470c93206": { | |
| "diff": { | |
| "otherSymbolCounts": {"withKnownType": 1} | |
| }, | |
| "symbols": {"added": 1} | |
| }, | |
| "081045-284b7668980": { | |
| "diff": { | |
| "exportedSymbolCounts": {"withUnknownType": 2}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "081000-7a470c93206": { | |
| "diff": { | |
| "otherSymbolCounts": {"withKnownType": 1} | |
| }, | |
| "symbols": {"added": 1} | |
| }, | |
| "081045-284b7668980": { | |
| "diff": { | |
| "exportedSymbolCounts": {"withUnknownType": 2}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| funcs = [] | |
| for i in range(10): | |
| def func(i=i): | |
| return i | |
| funcs.append(func) | |
| print(*(f() for f in funcs)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from engora.misc import dcommand | |
| from typer import Argument, Option, Typer | |
| from typing import Optional | |
| import pytest | |
| command = Typer().command | |
| @command(help='test') | |
| def a_command( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This has been replaced by the PyPi module https://pypi.org/project/dtyper/ | |
| from argparse import Namespace | |
| import dataclasses | |
| import functools | |
| import inspect | |
| @functools.wraps(dataclasses.make_dataclass) | |
| def dcommand(typer_f, **kwargs): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from . import command | |
| from engora import CONFIG | |
| from pathlib import Path | |
| from typer import Argument, Option | |
| from typing import List, Optional | |
| _CFGS = ( | |
| 'max_items', | |
| 'max_requests', | |
| 'only', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type AutoGenerated struct { | |
| A struct { | |
| B []interface{} `json:"b"` | |
| } `json:"a"` | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from dataclasses import dataclass | |
| @dataclass | |
| class B: | |
| b: List[object] | |
| @dataclass | |
| class A: | |
| a: B |
NewerOlder