Ecosyste.ms: Timeline

Browse the timeline of events for every public repo on GitHub. Data updated hourly from GH Archive.

schloerke

schloerke created a comment on a pull request on posit-dev/py-shinywidgets
[Shinylive app link](https://shinylive.io/py/editor/#code=NobwRAdghgtgpmAXGKAHVA6VBPMAaMAYwHsIAXOcpMAMwCdiYACAZwAsBLCbJjmVYnTJM6cKITIcAbnAA6Eeo1aduGOAA9Uoli179BwrqgCuZPE2Md5i5uy7YMo8ZJl6BQpgHM4ZAPq...

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
But is it necessary since we're `cast()`ing? I think we might be able to get away with a invariant type. ```suggestion _R = TypeVar("_R", bound=Resource) ``` (`R` for factory _R_ eturn v...

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
```suggestion resource: _T_co = self._factory(self._ctx, path, **result) resource = cast(_T, resource) ```

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
```suggestion resource: _T_co = self._factory(self._ctx, path, **result) resource = cast(_T, resource) ```

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
From other repos, I've used an explicit type expectation before casting the value. ```python resource: _T_co = self._factory(self._ctx, path, **result) resource = cast(_T, ...

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
```suggestion resource: _T_co = self._factory(self._ctx, path, **result) resource = cast(_T, resource) ```

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
A perfect use case! Linking for my own reminder: https://stackoverflow.com/a/61737894/591574

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
We do not adjust `factory` or `uid`, but their default values are shared objects between instances: https://www.pythonmorsels.com/mutable-default-arguments/ (No changes necessary... just a thoug...

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
My preference is to put uncommon args that have defaults behind some sort of "name requirement" mechanism. ```suggestion *, factory: ResourceFactory[_T_co] = _Resource, ```

View on GitHub

schloerke created a review on a pull request on posit-dev/posit-sdk-py
Couple typing style requests. One question on the covariant type var.

View on GitHub

schloerke created a review on a pull request on posit-dev/posit-sdk-py
Couple typing style requests. One question on the covariant type var.

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
From other repos, I've used an explicit type expectation before casting the value. ```python resource: _T_co = self._factory(self._ctx, path, **result) resource = cast(_T, re...

View on GitHub

schloerke created a review on a pull request on posit-dev/posit-sdk-py

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
I couldn't either... I tried to do this locally before you opened the PR. 😜

View on GitHub

schloerke created a review on a pull request on posit-dev/posit-sdk-py

View on GitHub

schloerke pushed 1 commit to tdstein/import-typing-extensions posit-dev/posit-sdk-py
  • Add test to verify no `typing` imports are ever used de67552

View on GitHub

schloerke pushed 1 commit to main posit-dev/posit-sdk-py
  • refactor: `Tag.update()` should return `None` (#369) 1a2cc55

View on GitHub

schloerke closed a pull request on posit-dev/posit-sdk-py
refactor: `Tag.update()` should return `None`
Other changes: * Added `update_dict_values(obj, **kwargs)` to update the dict values of an object from https://github.com/posit-dev/posit-sdk-py/pull/366#discussion_r1887845267 This is the l...
schloerke pushed 5 commits to schloerke/tags_update posit-dev/posit-sdk-py
  • Remove unused `drop_none()` f40afda
  • Add `update_dict_values(obj, **kwargs)` helper method c8b17c2
  • Make `Tag.update() -> None` instead of a new `Tag` 12b7f63
  • Be explicit on `.update()` methods returning `None` 030e9bd
  • Remove type ignore statements ef8497d

View on GitHub

schloerke created a branch on posit-dev/posit-sdk-py

schloerke/tags_update - Posit SDK for Python

schloerke closed a pull request on posit-dev/posit-sdk-py
refactor: Use new duck typing for content item `.repository` methods
Related: #364 Other changes: - Remove `_api.py`, `_api_call.py`, `_json.py` files as they are unused - Move to new file to avoid crowding - Use "mixin" to keep all methods close to each oth...
schloerke pushed 2 commits to schloerke/gut_api_files posit-dev/posit-sdk-py
  • Make `ContentItemRepository` inherit from resources `Resource` 923c0e8
  • Turn `ContentItemRepositoryMixin` into a true mixin class e36eb94

View on GitHub

schloerke pushed 2 commits to schloerke/gut_api_files posit-dev/posit-sdk-py
  • refactor: add resource protocols (#364) Adds protocols `Resource` and `ResourceSequence`, which define the base inte... dbafa68
  • Merge branch 'main' into schloerke/gut_api_files 2c49eed

View on GitHub

schloerke pushed 3 commits to schloerke/gut_api_files posit-dev/posit-sdk-py
  • Remove `@abstractmethod` on `Protocol` class 30e8e4b
  • Make `ContentItemRepository` class `@runtime_checkable` a3453e3
  • Rename `_repository.py` to `repository.py` 00c10d7

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
Added

View on GitHub

schloerke created a review on a pull request on posit-dev/posit-sdk-py

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
`_Resource` has a `.destroy()` method. That should cover it

View on GitHub

schloerke created a review on a pull request on posit-dev/posit-sdk-py

View on GitHub

schloerke created a review comment on a pull request on posit-dev/posit-sdk-py
Can do

View on GitHub

schloerke created a review on a pull request on posit-dev/posit-sdk-py

View on GitHub

Load more