Giter Club home page Giter Club logo

Comments (5)

jmafc avatar jmafc commented on August 15, 2024

Andrey, this looks similar to issue #42, where Francisco claims to have used yamltodb -N to supposedly exclude the public schema. I have been unable to reproduce that problem, but I have a hunch as to what may be wrong with yours. Could you please make and test the following with your data?

diff --git a/pyrseas/dbobject/schema.py b/pyrseas/dbobject/schema.py
index 3c503ea..21eeb05 100644
--- a/pyrseas/dbobject/schema.py
+++ b/pyrseas/dbobject/schema.py
@@ -133,7 +133,7 @@ class SchemaDict(DbObjectDict):
             schema = self[sch] = Schema(name=sch)
             inschema = inmap[key]
             objdict = {}
-            for key in list(inschema.keys()):
+            for key in sorted(inschema.keys()):
                 mapped = False
                 for prefix in list(PREFIXES.keys()):
                     if key.startswith(prefix):

from pyrseas.

jmafc avatar jmafc commented on August 15, 2024

Andrey, did you get a chance to test the above change? Please let me know. Thanks.

from pyrseas.

andreypopp avatar andreypopp commented on August 15, 2024

I can't manage to reproduce this issue now :-\

from pyrseas.

jmafc avatar jmafc commented on August 15, 2024

If you didn't apply the patch, then it tends to confirm my hunch. In any case, I'll commit the suggested change to close the issue. If it happens again, we can always reopen it.

from pyrseas.

jmafc avatar jmafc commented on August 15, 2024

This is presumably fixed by change 0052e8a.

from pyrseas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.