Closed chezou closed 4 years ago
To avoid dataclass creation time error, this patch introduces Resource.from_api_repr class method to ignore and warn unknown fields in responses of REST API.
Resource.from_api_repr
This change prevents to crach with future changes of digdag server resources like #8.
To avoid dataclass creation time error, this patch introduces
Resource.from_api_repr
class method to ignore and warn unknown fields in responses of REST API.This change prevents to crach with future changes of digdag server resources like #8.