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

Add digitalocean provider #646

Merged
merged 5 commits into from
Feb 9, 2022

Conversation

mandalae
Copy link
Contributor

@mandalae mandalae commented Feb 6, 2022

Added the init file as pointed out in the previous PR comment.

@dajor
Copy link

dajor commented Feb 6, 2022

Hi Chris,

there is one more bug:

from diagrams import Diagram

from diagrams.digitalocean.network import LoadBalancer
from diagrams.digitalocean.storage import Space

from diagrams.digitalocean.compute import Containers

with Diagram("Test", show=False):
LoadBalancer >> Containers >> Space

Traceback (most recent call last):
Containers >> Space
TypeError: unsupported operand type(s) for >>: 'type' and 'type'

@mandalae
Copy link
Contributor Author

mandalae commented Feb 6, 2022

If you do this:

from diagrams import Diagram

from diagrams.digitalocean.network import LoadBalancer
from diagrams.digitalocean.storage import Space

from diagrams.digitalocean.compute import Containers

with Diagram("Test", show=False):
LoadBalancer("Test balancer") >> Containers("Test containers") >> Space("Test space")

It works fine. I'm not sure what you posted is actually the correct use, is it?

Copy link
Owner

@mingrammer mingrammer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I also missed it. Thank you so much.

@mingrammer mingrammer merged commit 1422de9 into mingrammer:master Feb 9, 2022
haad added a commit to haad/diagrams that referenced this pull request May 12, 2022
* mhmdio/master:
  bump: up to version 0.21.1
  feat(output): Generate dot file and support multi outformat.(mingrammer#441) Re (mingrammer#592)
  feat: add digitalocean provider (mingrammer#646)
  docs(website): update docs
  bump: up to version 0.21.0
  docs(readme): update badges
  docs(readme): update
  docs(readme): add digital ocean badge
  feat(provider): added DigitalOcean provider (mingrammer#621)
  feat(node): Dremio Service in OnPrem.Analytics (mingrammer#451)
  chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /website (mingrammer#641)
  feat(node): add Nagios in OnPrem monitoring (mingrammer#638)
  feat(node): adding GCP API gateway image (mingrammer#636)
  feat(node): add chatbot icon (mingrammer#633)
  chore(deps): bump graphviz from 0.17 to 0.19.1 (mingrammer#635)
  feat(node): added Dapr programming runtime (mingrammer#591)
  docs: add mac dev guide (mingrammer#576)
  docs(readme): add Python 3.9 to badges (mingrammer#584)
  👌 IMPROVE: HashiCorp Icons
  📦 NEW: Add remaining HashiCorp Icons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants