pyMDG
pyMDG copied to clipboard
UML Model Driven Generation of schema, code, data and documentation.
from pydantic import BaseModel from typing import Optional class Post(BaseModel): # rating is required and must be an integer. rating: int # counter is not required and will default to...
Pre UML 2.4 the convention was non-navigable ends were assumed to be owned by the Association whereas navigable ends were assumed to be owned by the Classifier at the opposite...
` from django.db import models from django.db.models import F from django.contrib.postgres.search import SearchVector, SearchVectorField class Blog(models.Model): body = models.TextField() title = models.TextField() search_vector = models.GeneratedField( expression=SearchVector("title", config="english") + SearchVector("body", config="english"),...
https://github.com/asyncapi/spec channels -> channel per aggregate root operations -> operation publish & subscribe
curl --insecure -u ":" -G "https:///rest/api/content/search?limit=1" --data-urlencode "cql=(creator=currentUser() AND type=page)" --cookie-jar ./confluence-cookies.txt ``` # Netscape HTTP Cookie File # https://curl.haxx.se/docs/http-cookies.html # This file was generated by libcurl! Edit at your...
On each "table": "select_permissions": [ { "role": "foo", "permission": { "columns": [ "customer_id", "street_name" ], }, "comment": "A comment" } ]
Hi, i like your project. Sparx EA is great but for small company or freelancer the price is not affordable. I think it would be great if pyMDG supports open...
``` python from django.utils.translation import gettext_lazy as _ from django.db import models class AuditableModel(models.Model): last_updated_by = models.CharField( max_length=50 ) last_updated_datetime = models.DateTimeField(auto_now=True) created_by = models.CharField( max_length=50 ) created_datetime = models.DateTimeField(auto_now_add=True)...