Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext.csgo.Client.inspect_item raise AttributeError #405

Closed
3 tasks done
somespecialone opened this issue Nov 23, 2023 · 1 comment
Closed
3 tasks done

ext.csgo.Client.inspect_item raise AttributeError #405

somespecialone opened this issue Nov 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@somespecialone
Copy link
Contributor

Summary

Attempt to inspect csgo item raise AttributeError: 'BaseInspectedItem' object has no attribute 'id' exception.

Reproduction Steps

Title really self-describing

Expected Results

Expect inspect item result to return.

Actual Results

Exception happened.

return BaseInspectedItem(
File "<string>", line 3, in __init__
AttributeError: 'BaseInspectedItem' object has no attribute 'id'

System Information

python version: 3.10.5
steam.py version: 1.0.0rc13084+gaaa08e17
aiohttp version: 3.8.6
betterproto version: 2.0.0b6
operating system info: Windows-10-10.0.22621-SP0

Checklist

  • I have searched the issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my username, password, shared/identity secrets and refresh/access tokens from display, if visible.
@somespecialone somespecialone added the bug Something isn't working label Nov 23, 2023
@somespecialone
Copy link
Contributor Author

My guess is that you intended to create a class that inherits BaseInspectedItem for this method, but you haven't done so yet, because we have zero slots in runtime for base

if not TYPE_CHECKING:
    __slots__ = ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant