Comments (4)
Well I made a work around using the following code to scale processes:
In [4]: cloud._http_resource(method='POST', resource=('apps', 'appnane', 'ps', 'scale'), data={'type': 'processname', 'qty': 1})
Out[4]: <Response [200]>
In [5]: cloud._http_resource(method='POST', resource=('apps', 'appname', 'ps', 'scale'), data={'type': 'processname', 'qty': 0})
Out[5]: <Response [200]>
I think you guys may need to change this part: https://github.com/heroku/heroku.py/blob/master/heroku/structures.py#L69
from heroku.py.
Hey @samos123 , I believe I have a fix for this in #20 - see that ticket for a description of the problem and my test case. Feel free to try patching locally and see if it works for you too :)
from heroku.py.
I'm not using this anymore though, so if I have some time I will give it a try, seems Heroku isn't really maintaining this a lot.
from heroku.py.
This project has been deprecated for some time, and is now being sunset.
We recommend that you use the maintained https://github.com/martyzz1/heroku3.py instead.
from heroku.py.
Related Issues (20)
- support `heroku labs` HOT 1
- Can't Create Add New Addons If None Exist HOT 2
- unexpected keyword argument 'session' HOT 2
- Should the server or client deal with invalid scaling requests? HOT 1
- No longer functions
- Logs with tail=True hangs after about 100 entries HOT 2
- New release? HOT 6
- Heroku.from_key is silently overridden by .netrc
- Support requests >= 1.0 HOT 2
- Regression: Support requests >= 1.0 HOT 1
- Support scaling processes 0 to n HOT 4
- Process.scale() always returns an empty list HOT 2
- Python 3 support HOT 2
- Support copying slugs HOT 2
- Add Process example HOT 1
- Why it was discontinued? HOT 1
- cloud.apps do not work because the url https://api.heroku.com/apps is deprecated HOT 2
- This package has been sunset
- `heroku run` support from the Python API HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku.py.