mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[PR #55] [MERGED] Fix String-based path #153
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/proxmoxer/proxmoxer/pull/55
Author: @jhollowe
Created: 5/13/2021
Status: ✅ Merged
Merged: 5/20/2021
Merged by: @jhollowe
Base:
develop← Head:get-from-string-path📝 Commits (1)
ea4d572Fix string path for get,post,etc📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
proxmoxer/core.py(+2 -2)📄 Description
Fix proxmox.nodes.get() and proxmox.get("nodes") returning different values by making the ProxmoxAPI class a subclass of the full resource class (
ProxmoxResource).Since the
ProxmoxResourceBaseclass is only used byProxmoxResource, it could be refactored out and its contents put intoProxmoxResource.@morph027 what do you think about this?
This is somewhat a breaking change as anyone who attempted a workaround to the bug may have breakage. However, any usage following the README will now work.
resolves #49
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.