You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a RSConnectExecutor object, if .server_settings is accessed and self.client is a PositClient object (as opposed to a RSConnectClient object), it will throw an error.
I'm running into this problem while working on #545, when I try to deploy a Shiny app to shinyapps.io.
The problem is that the server_settings property accesses self.client.server_settings. self.client can be a RSConnectClient or PositClient object. However, the PositClient class does not have .server_settings.
With a
RSConnectExecutor
object, if.server_settings
is accessed andself.client
is aPositClient
object (as opposed to aRSConnectClient
object), it will throw an error.I'm running into this problem while working on #545, when I try to deploy a Shiny app to shinyapps.io.
The problem is that the
server_settings
property accessesself.client.server_settings
.self.client
can be aRSConnectClient
orPositClient
object. However, thePositClient
class does not have.server_settings
.https://github.com/rstudio/rsconnect-python/blob/34c77ea280c353ebdc8f2987f31765736aa6f96f/rsconnect/api.py#L916-L919
Maybe the
PositClient
class could have a.server_settings
field, set toNone
or an empty dictionary?The text was updated successfully, but these errors were encountered: